SINUMERIK 840D sl. User - Operating. Manual (2020) - page 51

 

  Index      Manuals     SINUMERIK 840D sl. User - Operating. Manual (2020)

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     49      50      51      52     ..

 

 

 

SINUMERIK 840D sl. User - Operating. Manual (2020) - page 51

 

 

01/2008
Machining the workpiece
3
3.5 Starting execution at a specific program point
3
3. Without calculation
During the block search, ShopTurn does not perform any
calculations, i.e. calculation is skipped until the target block. The
parameters within the control contain the values valid before the
block search.
This option is only available for programs that exclusively comprise
G code blocks.
4. External - without calculation
This method is performed in the same way as calculation to end
point, except that subroutines called via EXTCALL are skipped in
the calculation. In the same way, with G code programs that are
executed entirely by external drives (disk drive/network drive),
calculation is skipped until the target block is reached.
This helps to speed up the calculation process.
Notice
Modal functions included in the part of the program that is not
calculated are not taken into account for the part of the program to be
executed. In other words, with the "Without calculation" and "External
- without calculation" methods, you should choose a target block after
which all the information needed for machining is included.
Specifying a target
In the "Search pointer" screen form, directly specify the target for the
directly
target type "miscellaneous ShopTurn block or G-code block."
Each line of the screen form represents one program level. The actual
number of levels in the program depends on the nesting depth of the
program. Level 1 always corresponds to the main program and all
other levels correspond to subroutines.
You must enter the target in the line of the screen form corresponding
to the program level in which the target is located. For example, if the
target is located in the subroutine called directly from the main
program, you must enter the target in program level 2.
The specified target must always be unambiguous. This means, for
example, that if the subroutine is called in the main program in two
different places, you must also specify a target in program level 1
(main program).
The parameters in the "Search pointer" screen form have the following
meaning:
Number of program level
Program: Program name (the name of the main program is
automatically entered.)
Ext:
File extension
P:
Continuous counter (if part of a program is repeated
several times, you can specify the repetition number
at which you wish machining to be resumed.)
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-97
Machining the workpiece
01/2008
3
3.5 Starting execution at a specific program point
3
Line:
Parameter is given by ShopTurn
Type:
"
"
Search target is ignored on this level
N no.
Block number
Marker
Jump marker
Text
Character string
Sub-r.
Subprogram call
Line
Line number
Search target: Point in the program at which machining is to start
Selecting the ShopTurn
cycle
¾ Load a program in "Machine Auto" mode (see Section
"Starting/stopping program execution").
¾ Position the cursor on the desired target block.
¾ Press the "Block search" and "Start search run" softkeys.
Start
search run
¾ Where chained program blocks have several technology blocks,
select the desired technology block in the "Search run" window.
The prompt does not appear in the case of single program blocks.
¾ Press the "Accept" softkey.
¾ For chained program blocks, enter the number for the desired
starting position.
The prompt does not appear in the case of single program blocks.
During the block search run on the position pattern, the skipped
positions are not counted.
¾ Press the "Accept" softkey.
¾ Press the "Cycle Start" key.
Cycle Start
ShopTurn sets all the necessary parameters.
¾ Press the "Cycle Start" key again.
Cycle Start
The new starting position is approached. The workpiece is then
machined from the beginning of the target block.
You can abort the search by pressing the "Reset" key.
Reset
© Siemens AG 2008 All rights reserved.
3-98
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Machining the workpiece
3
3.5 Starting execution at a specific program point
3
Selecting the misc.
Position cursor on target block
ShopTurn block or
G-code block
¾ Load a program in "Machine Auto" mode (see Section
"Starting/stopping program execution").
¾ Position the cursor on the desired target block.
¾ Press the "Block search" softkey.
To
External -
¾ Select a calculation technique.
contour
without cal.
¾ Press the "Cycle Start" key.
Cycle Start
ShopTurn sets all the necessary parameters.
¾ Press the "Cycle Start" key again.
Cycle Start
The new starting position is approached. The program executes from
the beginning or end of the target block, depending on the calculation
technique.
You can abort the search by pressing the "Reset" key.
Reset
Select point of interruption
Program execution must have been interrupted by pressing the
"Reset" key. (ShopTurn automatically remembers this point of
interruption)
¾ Switch back to "Machine Auto" mode.
¾ Press the "Block search" and "Search pointer" softkeys.
Search
pointer
Interrupt
¾ Press the "Interrupt point" softkey.
point
ShopTurn inserts the saved interrupt point as a target.
To
External -
¾ Select a calculation technique.
contour
without cal.
¾ Press the "Cycle Start" key.
Cycle Start
ShopTurn sets all the necessary parameters.
¾ Press the "Cycle Start" key again.
Cycle Start
The new starting position is approached. The program executes from
the beginning or end of the target block, depending on the calculation
technique.
You can abort the search by pressing the "Reset" key.
Reset
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-99
Machining the workpiece
01/2008
3
3.5 Starting execution at a specific program point
3
Specify target directly
¾ Load a program in "Machine Auto" mode (see Section
"Starting/stopping program execution").
¾ Press the "Block search" and "Search pointer" softkeys.
Search
pointer
¾ Specify the desired target.
To
External -
¾ Select a calculation technique.
contour
without cal.
¾ Press the "Cycle Start" key.
Cycle Start
ShopTurn sets all the necessary parameters.
¾ Press the "Cycle Start" key again.
Cycle Start
The new starting position is approached. The program executes from
the beginning or end of the target block, depending on the calculation
technique.
You can abort the search by pressing the "Reset" key.
Reset
Searching for any text
¾ Load a program in "Machine Auto" mode (see Section
"Starting/stopping program execution").
¾ Press the "Block search" and "Search" softkeys.
Search
¾ Enter the text string that you want to locate.
¾ Select whether the search is to commence at the start of the
program or the current cursor position.
Search
¾ Press the "Search" softkey.
The program block that contains the text string is marked.
Continue
¾ Press the "Continue search" softkey, if you want to continue the
search
search.
¾ Press the "Abort" and "Start search run" softkeys.
Start
search run
¾ Where chained program blocks have several technology blocks,
select the desired technology block in the "Search run" window
and press the "Accept" softkey.
The prompt does not appear in the case of single program blocks.
¾ For chained program blocks, enter the number for the desired
starting position and press the "Accept" softkey.
The prompt does not appear in the case of single program blocks.
© Siemens AG 2008 All rights reserved.
3-100
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Machining the workpiece
3
3.6
Controlling the program sequence
3
¾ Press the "Cycle Start" key.
Cycle Start
ShopTurn sets all the necessary parameters.
¾ Press the "Cycle Start" key again.
Cycle Start
The new starting position is approached. The workpiece is then
machined from the beginning of the target block.
You can abort the search by pressing the "Reset" key.
Reset
3.6
Controlling the program sequence
If you want to check previously obtained results while machining a
workpiece, you can have the machining stop at specially marked
points (programmed stop). Within the sequence program, the stop
occurs at the “safety distance” position.
Conversely, if you do not want to execute certain machining steps
programmed in G codes on every program run, you can mark these
blocks accordingly (skip G code blocks). This is not possible with
sequence blocks.
You can also choose to allow DRF offsets, i.e. offsets with the
handwheel, during machining. This function must be set up by the
machine manufacturer.
Please also refer to the machine manufacturer's instructions.
Programmed stop
¾ Load a program in "Machine Auto" mode (see Section
"Starting/stopping program execution").
¾ Press the "Prog. Cntrl." softkey.
Program.
¾ Press the "Program. stop" softkey.
stop
¾ Press the "Cycle Start" key.
Cycle Start
Execution of the program starts. The program stops at each block for
which the G-code command "M01" was programmed (see Sec. "G-
code in the sequence program").
¾ Press the "Cycle Start" key again each time.
Cycle Start
Execution of the program is continued.
Program.
¾ Press the "Program. stop" softkey again if you want the program
stop
to be executed without a programmed stop. (The softkey is
deactivated again.)
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-101
Machining the workpiece
01/2008
3
3.6 Controlling the program sequence
3
Skipping G code blocks
¾ Load a program in "Machine Auto" mode (see the section titled
"Starting/stopping program execution").
¾ Press the "Prog. Cntrl." softkey.
Skip
¾ Press the "Skip" softkey.
¾ Press the "Cycle Start" key.
Cycle Start
Execution of the program starts. G code blocks with the "/" character
(slash) in front of the block number are not executed.
Skip
¾ Press the "Skip" softkey again if you want the marked G code
blocks to be executed again during the next run. (The softkey is
deactivated again.)
Allowing DRF offset
¾ Load a program in "Machine Auto" mode (see Section
"Starting/stopping program execution").
¾ Press the "Prog. Cntrl." softkey.
DRF
¾ Press the "DRF offset" softkey.
offset
¾ Press the "Cycle Start" key.
Cycle Start
Execution of the program starts. Offsets with the handwheel affect the
machining process directly.
DRF
¾ Press the "DRF offset" softkey again if you no longer want to allow
offset
handwheel offsets during machining. (The softkey is deactivated
again.)
© Siemens AG 2008 All rights reserved.
3-102
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Machining the workpiece
3
3.7 Overstoring
3
3.7
Overstoring
In "Machine Auto" mode, you can overstore technological parameters
(auxiliary functions, programmable instructions, etc.) in the work
storage unit of the NCK. You can also enter and execute any NC
block.
Overstore does not alter the programs stored in the part program
memory.
Overstore with single
block
¾ Load a program in "Machine Auto" operating mode (see Section
"Selecting a program for execution").
¾ Press the "Single Block" key to execute the program block by
Single Block
block.
The program automatically stops at the next block boundary.
¾ Press the "Overstore" softkey.
The "Overstore" window is opened.
¾ Enter the NC blocks to be processed.
¾ Press the "Cycle Start" key.
Cycle Start
The blocks you have entered are stored. You can observe execution
in the "Overstore" window.
After "Overstore", a subroutine with the content REPOSA, which you
can observe, is executed.
Overstore without single
block
¾ Load a program in "Machine Auto" operating mode (see Section
"Selecting a program for execution").
¾ Press the "Cycle Stop" key.
Cycle Stop
¾ Press the "Overstore" softkey.
The "Overstore" window is opened.
¾ Enter the NC blocks to be processed.
¾ Press the "Cycle Start" key.
Cycle Start
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-103
Machining the workpiece
01/2008
3
3.8 Testing a program
3
The blocks you have entered are stored. You can observe execution
of the blocks in the "Overstore" window.
After the entered blocks have been executed, you can append blocks
again.
Stopping overstore
¾ Press the "Back" key to exit "Overstore".
The window is closed.
You can switch modes now.
After you have pressed "Cycle Start" again, the selected program
Cycle Start
continues before overstore.
3.8
Testing a program
To prevent incorrect machining of the workpiece during the first pass
of the program on the machine, first test the program without moving
the machine axes.
During testing, ShopTurn checks the program for the following
inadmissible conditions:
• Geometric incompatibility
• Missing data
• Non-executable instruction sequences and jumps
• Violation of working area
ShopTurn automatically detects syntax errors when it is loading a
program in "Machine Auto" mode.
Whether ShopTurn executes auxiliary functions (M and H functions)
during the program test is dependent upon the machine
manufacturer’s settings.
Please also refer to the machine manufacturer's instructions.
The following functions can be used during the program test:
• Stop execution with “Programmed Stop” (see Section “Controlling
the program run”)
• Graphical display on the screen (see Section "Simultaneous
recording before machining a workpiece")
© Siemens AG 2008 All rights reserved.
3-104
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Machining the workpiece
3
3.9
Correcting a program
3
¾ Load a program in "Machine Auto" mode (see Section
"Starting/stopping program execution").
¾ Press the "Prog. Cntrl." softkey.
Program
¾ Press the "Program test" softkey.
test
¾ Press the "Cycle Start" key.
Cycle Start
The program is tested without traversing of the machine axes.
Program
¾ Press the "Program test" softkey again to deactivate test mode on
test
completion of the program. (The softkey is deactivated again.)
3.9
Correcting a program
As soon as ShopTurn detects a syntax error while loading a program
in "Machine Auto" mode, the error is displayed in the alarm line. You
can then correct the program in the program editor.
Depending on whether the program is in the NC stop or reset state
after being interrupted by ShopTurn, you can make various
corrections.
• NC Stop status:
You can only modify blocks that have not yet been executed on the
machine or read by the NCK.
• Reset status:
You can modify all blocks.
¾ Press the "Prog. corr.” softkey
The program appears in the "Program" operating area and the
erroneous block is highlighted.
¾ Press the "Right cursor" key.
The parameter screen form is displayed.
¾ Input the corrections.
¾ Press the "Accept" softkey.
The correction is applied to the current program.
¾ Press the "Execute" softkey.
The program is reloaded in "Machine Auto" mode and you can start
the machining of the workpiece.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-105
Machining the workpiece
01/2008
3
3.10 Displaying G and auxiliary functions
3
3.10
Displaying G and auxiliary functions
While the workpiece is being machined, if you want to know, for
example, whether the tool tip radius compensation is currently active
or which unit of measurement is being used, you can activate display
of the G functions or auxiliary functions.
16 different G groups are displayed under "G function". Within a G-
group, only the G functions that are currently active in the NCK
appear. In addition, you can see the currently active transformation in
the top line of the window.
As an alternative, all G groups with all associated G functions are
listed in "All G Func.".
Auxiliary functions include M and H functions preprogrammed by the
machine manufacturer, which pass parameters to the PLC to trigger
reactions defined by the manufacturer.
Please also refer to the machine manufacturer's instructions.
A maximum of five M functions and three H functions are displayed.
You can have the G functions that are currently active in the NCK
displayed during execution of a sequence program too, since the
ShopTurn functions are internally translated into G-code.
G function
¾ Press the "G function" softkey in "Machine Manual" or "Machine
Auto" mode.
Instead of parameters T, F and S, the currently active G functions
within a G group will be displayed.
If you press the "G function" softkey again, the "T, F, S" status display
reappears.
-or-
All G
¾ Press the "All G func." softkey.
func.
Instead of parameters T, F and S, all G groups with G functions are
now listed. If you select the "All G func." softkey again, the "T, F, S"
status display reappears.
-or-
Auxiliary
¾ Press the "Auxiliary function" softkey.
function
Instead of parameters T, F and S, the currently active auxiliary
functions will be displayed. If you press the "Auxiliary function" softkey
again, the "T, F, S" status display reappears.
© Siemens AG 2008 All rights reserved.
3-106
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Machining the workpiece
3
3.11 Simulating machining
3
3.11
Simulating machining
You can graphically display the execution of the program on the
screen, in order to easily control the programming result without
moving the machine axes. In this way, you can detect incorrectly
programmed machining steps early on and prevent erroneous
machining of the workpiece.
In addition, you can conveniently track the machining of the workpiece
on the machine via the graphical display, if the view of the working
area is blocked by coolant, for example.
In this graphical display, ShopTurn shows the workpiece, the tools, the
counterspindle and the headstock on the screen in the correct
proportions, i.e. the programmed blank dimensions from the program
header are used for the workpiece and the tools are displayed with
various symbols, depending on the the tool type and size. For
displaying the counter spindle and headstock, the dimensions are
taken from the “spindle” input screen form (see Sec. "Spindles").
For the graphical display of G-code programs, ShopTurn displays a
pre-defined blank shape, which you can modify as you wish.
Finished-part contour
If you have programmed turning machining processes in the main
program, ShopTurn displays the corresponding finished-part contour
for them at the start of the graphical display. Thus, you can easily
compare the current contour with the finished-part contour, and also
detect where possible residual material might remain when machining.
Display variants
You can choose between three variants of graphical display:
• Simulation before machining the workpiece
Before machining the workpiece on the machine, you can
graphically display the execution of the program in a quick run-
through. The machine axes do not move during this.
• Simultaneous recording before machining the workpiece
Before machining the workpiece on the machine, you can
graphically display the execution of the program with a test run
feedrate. The machine axes do not move during this. In contrast to
the simulation, you can use the functions for program control, i.e.
you can stop the graphical execution or have it run block-by-block.
• Simultaneous recording during machining of the workpiece
While the program is being executed on the machine, you can
track the machining of the workpiece on the screen as well.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-107
Machining the workpiece
01/2008
3
3.11 Simulating machining
3
Views
For all three variants, the following views are available:
•
3-window view
• Side view
• Face view
• Volume model
The traverse paths for the tools are shown in color:
Red line = tool is moving at rapid traverse
Green line = tool is moving at machining feedrate
In all views, a clock is displayed during graphical processing. The
displayed machining time (in hours/minutes/seconds) indicates the
approximate time that would actually be required to execute the
machining program on the machine (incl. tool change).
If a program is interrupted during simultaneous recording, the clock
stops.
In addition, the current axis coordinates, the override, and the program
block currently being executed are also displayed.
The active tool with the cutting edge number and feedrate are also
displayed in the simulation.
Transformations
Transformations are displayed differently during simulation and
simultaneous recording:
• Coordinate transformations (translation, scaling, …) are displayed
as programmed.
• In the graphical display, zero-point offsets (G54, ...) only lead to
the offsetting of the zero-point in the Z direction.
Counter spindle
If you open or close the collet of the main spindle or counter-spindle
during programming via M functions, ShopTurn can only display this
graphically if the M functions are assigned via machine data cycles.
Please also refer to the machine manufacturer's instructions.
© Siemens AG 2008 All rights reserved.
3-108
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Machining the workpiece
3
3.11 Simulating machining
3
3.11.1 Simulating prior to machining the workpiece
Before machining the workpiece on the machine, you can graphically
display the execution of the program in a quick run-through on the
screen in order to easily monitor the result of the programming.
Feedrate override is also active during simulation.
0%: The simulation stops.
≥ 100%: The program is executed as fast as possible.
Feedrate override for simulation must be activated via a machine data
code.
Please also refer to the machine manufacturer's instructions.
Starting the simulation
¾ Press the softkey or the "Program" key.
-or-
The directory overview is displayed.
¾ Place the cursor on the directory in which you would like to
simulate a program.
¾ Press the "Input" or "Cursor right" key.
-or-
The program overview is displayed.
¾ Place the cursor on the program that you would like to simulate.
¾ Press the "Input" or "Cursor Right" key.
-or-
The selected program is displayed in the "Program" operating area.
¾ Press the "Simulation" softkey.
Program processing will be graphically displayed on the screen. The
machine axes do not move during this.
Details
Single
¾ Press the "Details" and "Single Block" softkeys if you wish to
Block
process the program block by block.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-109
Machining the workpiece
01/2008
3
3.11 Simulating machining
3
Stop simulation
¾ Press the "Stop" softkey.
Simulation is stopped.
Aborting simulation
¾ Press the "Reset" softkey.
Simulation is aborted and the unmachined blank shape of the
workpiece is displayed again.
Resuming simulation
¾ Press "Start" softkey.
Simulation is resumed.
End simulation
¾ Press the "End" softkey.
End
The machining plan or programming graphic for the program is
displayed again.
3.11.2 Simultaneous recording prior to machining the workpiece
Before machining the workpiece on the machine, you can graphically
display the execution of the program on the screen in order to easily
monitor the result of the programming.
Simultaneous recording is a software option.
You can replace the programmed feedrate with a test-run feedrate in
order to control the execution speed (see Sec. "Establishing the test-
run feedrate").
In addition, you can interrupt or control the graphical execution, i.e.
the functions for program control such as "NC Stop," "Single Block,"
"Feedrate override," etc. are in effect.
If you would like to view the current program blocks again instead of
the graphical display, you can switch to the program view.
This function must be set-up via machine data.
Please also refer to the machine manufacturer's instructions.
© Siemens AG 2008 All rights reserved.
3-110
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Machining the workpiece
3
3.11 Simulating machining
3
¾ Load a program in "Machine Auto" mode (see Section
"Starting/stopping program execution").
¾ Press the "Prog. Cntrl." and "Program test" softkeys.
Program
test
Dry run
¾ Press the "Dry run feedrate" softkey, if the programmed feedrate
feedrate
speed is to be replaced by a test-run speed.
¾ Press the "Real-sim." softkey.
¾ Press the "Cycle Start" key.
Cycle Start
Program processing will be graphically displayed on the screen. The
machine’s axes do not move.
Dry run
¾ Press the "Dry run feedrate" softkey again, if the parallel drawing
feedrate
is to run in the programmed feedrate speed. (The softkey is
deactivated again.)
Program
¾ Press the "Program view" softkey if you would like to switch away
view
from the graphical display into the program view of the "Machine
Auto" mode.
Recording of the graphical data continues in the backg37round.
¾ Press one of the 4 softkeys for the graphical views, if you would
like to return to the graphical display.
…
3.11.3 Simultaneous recording during workpiece machining
If the view of the work space is blocked by coolant, for example, while
the workpiece is being machined, you can also track the program
processing on the screen.
Simultaneous recording is a software option.
You can switch on the function for simultaneous recording of the
machining process even if workpiece machining has already begun to
take place on the machine.
This function must be set-up via machine data.
Please also refer to the machine manufacturer's instructions.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-111
Machining the workpiece
01/2008
3
3.11 Simulating machining
3
¾ Load a program in "Machine Auto" mode (see Section
"Starting/stopping program execution").
¾ Press the "Real-sim." softkey.
¾ Press the "Cycle Start" key.
Cycle Start
Workpiece machining is started and graphically displayed on the
screen.
3.11.4 Changing a blank shape for a G code program
G-code programs typically do not contain a description of the shape of
the blank. For the graphical display, ShopTurn therefore uses a pre-
defined shape for the blank. You can modify it as you wish.
¾ Select "Simulation" or "Real-sim."
-or-
¾ Press the softkeys "Side View" and "Details".
Details
>
¾ Press the "Settings" softkey.
Settings
¾ Select the shape of the blank (cylinder, tube, square, or N-angle).
¾ Input the desired dimensions.
¾ Press the "Back" softkey.
During the next graphical display of a G-code program, the input
dimensions are taken into consideration.
© Siemens AG 2008 All rights reserved.
3-112
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Machining the workpiece
3
3.11 Simulating machining
3
3.11.5 Different workpiece views
In the graphical display, you can choose between different views so
that you constantly have the best view of the current workpiece
machining, or in order to display details or the overall view of the
finished workpiece.
The following views are available:
• Side view
The display shows the workpiece, partly in the longitudinal view,
and partly the peripheral surface.
• Face view
The workpiece is displayed in cross-section. The face of the
workpiece is displayed by default. The viewing direction is always
from the front to the cutting surface even if machining is to be
performed from behind or from the back side.
• Volume model
The volume model is a 3-D display of the workpiece that does not
appear while the simulation is running but only if you stop the
simulation.
The volume model is a software option.
•
3-window view
The 3-window view shows the side and front view and, on the PCU
50.3, a volume model. A cut-away change occurs synchronously
for the side and front view. The cut-away of the volume model
cannot be changed here.
In the volume model, ShopTurn only displays drilling and milling
work continuously. The turning work is only updated when you
change to drilling or milling work.
You can still move the displayed cutout in any view.
If there is no longer sufficient storage space for the graphical display,
ShopTurn fades out the blank. You can still see the side and front
view as dashed-line graphics.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-113
Machining the workpiece
01/2008
3
3.11 Simulating machining
3
Side view
¾ Press the "side view" softkey.
Side view
You can find information on changing the cut-away in Sec. "Changing
the cut-away".
© Siemens AG 2008 All rights reserved.
3-114
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Machining the workpiece
3
3.11 Simulating machining
3
Face view
¾ Press the "Face view” softkey.
Face view
Details
¾ Press the "Details" softkey, if you want to pan the cross-section in
>
the Z direction.
-and-
¾ Press the "Z Cut +" or "Page Up" key in order to pan the cross-
Z Cut
+
or
section in a positive Z direction.
-or-
¾ Press the "Z Cut -" or "Page Down" key in order to pan the cross-
Z Cut
-
section in a negative Z direction.
or
You can find further information on changing the cut-away in
Sec. "Changing the cut-away".
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-115
Machining the workpiece
01/2008
3
3.11 Simulating machining
3
Volume model
¾ Press the "Volume model” softkey.
Volume model
Displaying the volume model
¾ Press the "Stop" softkey if you would like to display the volume
model at the current point in the machining.
¾ Press the "Side view" and "Start" softkeys if you would like to
continue the simulation.
Changing the view
Details
¾ Press the "Details" softkey if you want to change the view.
>
-and-
¾ Press the "View Å" or "View Æ" softkey to rotate the workpiece
or
about the X axis.
-or-
¾ Press the "View 3" softkey to rotate the workpiece about the
Z axis.
-or-
Cut
¾ Press the "Cut" softkey to cut up the workpiece.
-and-
Cut
¾ Press the "Cut" softkey again if the volume model is to be
displayed in full again.
You can find further information on changing the cut-away in
Sec. "Changing the cut-away".
© Siemens AG 2008 All rights reserved.
3-116
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Machining the workpiece
3
3.11 Simulating machining
3
3-window view
¾ Press the "3-window view” softkey.
3-window view
You can find information on changing the cut-away in Sec. "Changing
the cut-away".
3.11.6 Changing the cutout
If you would like to pan, enlarge, or decrease the size of the cut-away
on the graphical display, e.g. to view details or display the complete
workpiece, use the Zoom or magnifying glass.
Increase or decrease the size of the existing cut-away from the center
using the zoom function. Then you can pan the new cut-away.
Using the magnifying glass, you can first define the cut-away and then
increase or decrease its size.
The zoom/magnifying settings are program-specific, i.e. the settings
are retained if you change the cut-away and switch to the work plan
and then back to the graphics, for example. If you then simulate the
new program, ShopTurn will use the default settings of zoom and the
magnifying glass.
But you can also return to the default display of the workpiece from a
changed cut-away.
In addition, you can delete the previously drawn machining lines in the
graphics in order to get a clear display.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-117
Machining the workpiece
01/2008
3
3.11 Simulating machining
3
Details
¾ Press the "Details" softkey.
>
Original cut-away
Back to
¾ Press the "Back to original" softkey to restore the original size of
original
the viewport.
The workpiece on the main spindle or counter-spindle appears.
Zoom
¾ Press the "Zoom +" or "+" softkey if you would like to enlarge the
Zoom
+
+
cut-away.
or
-or-
¾ Press the "Zoom -" or "-" softkey if you would like to decrease the
Zoom
-
or
size of the cut-away.
-or-
¾ Press a cursor key if you want to pan the cut-away up, down, left,
or right.
The new cut-away appears.
Magnifying glass
Magnifying
¾ Press the "Magnifying glass” softkey.
glass
A magnifying glass in the shape of a rectangular frame appears.
¾ Press a cursor key if you want to move the magnifying glass up,
down, left, or right.
Magnifying
¾ Press the "Magnifying glass +" softkey if you want to enlarge the
glass +
cut-away that you selected with the magnifying glass.
-or-
Magnifying
¾ Press the "Magnifying glass -" softkey if you want to decrease the
glass -
size of the cut-away that you selected with the magnifying glass.
Magnifying
¾ Press the "Magnifying glass zoom” softkey.
glass zoom
The new cut-away appears.
Deleting machining lines
¾ Press the "Del" key.
The previous machining lines are deleted.
© Siemens AG 2008 All rights reserved.
3-118
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Machining the workpiece
3
3.12 Settings for automatic mode
3
3.12 Settings for automatic mode
For automatic mode, configure the pre-settings for the following
functions:
• Program sequence under Automatic
For graphical display of a program, the feedrate of the test-run can
be specified.
• Workpiece counter
For counting workpieces in G-code programs, counters are
available, which display the number of needed workpieces as well
as the total number of workpieces produced.
3.12.1 Defining a test run feedrate
Before machining a workpiece, test the program without moving the
machine axes. For early detection of programming errors, the parallel
drawing function is available to you. For this, you can use your own
preset test-run feedrate (see Section "Parallel drawing before
machining the workpiece").
The feedrate can be changed while the operation is running.
¾ Switch to "Machine Auto" mode in the expanded horizontal
Auto
softkey bar.
¾ Press the "ShopT. sett." softkey.
¾ In "Test-run feedrate", enter the desired test-run speed.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
3-119
Machining the workpiece
01/2008
3
3.12 Settings for automatic mode
3
3.12.2 Parameterizing the workpiece counter
With the aid of the "ShopTurn Settings," you can control the counter
activation and the time of the zeroing.
The display of the needed and currently machined workpieces is
displayed in the machine run-time window (see Section "Run-times").
Number of workpieces
¾ Switch to "Machine Auto" mode in the expanded horizontal softkey
Auto
bar.
¾ Press the "ShopT. sett." softkey.
¾ Enter the number of workpieces needed in the "Desired
workpieces" field.
The number of workpieces finished since the program started is
displayed in the "Actual workpieces" field.
After the defined number of workpieces is reached, the current
workpieces display is automatically reset to zero.
The choice of counter depends on the machine data setting.
Please also refer to the machine manufacturer's instructions.
The desired and actual numbers for the workpiece counter can also
be changed during program execution.
„
© Siemens AG 2008 All rights reserved.
3-120
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4
Creating a ShopTurn program
4.1
Program structure
4-122
4.2
Fundamentals
4-124
4.2.1
Machining planes
4-124
4.2.2
Machining cycle approach and retraction
4-126
4.2.3
Absolute and incremental dimensions
4-128
4.2.4
Polar coordinates
4-130
4.2.5
Pocket calculator
4-131
4.2.6
Adjustments
4-133
4.3
Sequence program
4-134
4.3.1
Overview
4-134
4.3.2
Creating a new program
4-136
4.3.3
Creating program blocks
4-140
4.3.4
Changing program blocks
4-144
4.3.5
Program editor
4-145
4.3.6
Specifying a quantity
4-148
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-121
Creating a ShopTurn program
01/2008
4
4.1 Program structure
4
4.1
Program structure
A sequence program is divided into three sub-areas:
• Program header
• Program blocks
• End of program
These sub-areas form a machining plan.
Program
header
Program
blocks
Program
end
Program structure
Program header
The program header contains parameters that affect the entire
program, such as blank dimensions or retraction planes.
Program blocks
You determine the individual machining steps in the program blocks.
In doing this, you specify the technology data and positions, among
other things.
Technology data and
positions
Plain text, e.g. type
of machining
Block number allocated
by control
Symbol of machining cycle
Program block
Linked program blocks
For the "Contour turning", "Contour milling", "Milling", and "Drilling"
functions, program the technology blocks and contours or positioning
blocks separately. These program blocks are automatically linked by
the controller and connected by brackets in the work plan.
In the technology blocks, specify how and in what form the machining
should take place, e.g. centering first, and then drilling. In the
positioning blocks, determine the positions for the drilling or milling
machining, e.g. position the drill-holes in a full circle on the front
surface.
© Siemens AG 2008 All rights reserved.
4-122
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.1
Program structure
4
Technology blocks
Positioning blocks
Technology block and positioning block
Contours
Technology blocks
Contour and technology block
End of program
End of program signals to the machine that the machining of the
workpiece has ended. In addition, you can specify the number of
workpieces that you would like to machine.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-123
Creating a ShopTurn program
01/2008
4
4.2 Fundamentals
4
4.2
Fundamentals
4.2.1 Machining planes
A workpiece can be machined on different planes. Two coordinate
axes define a machining plane. On turning machines with X, Z, and C
axes, three planes are available:
• Turning
• Face
• Peripheral
The face and peripheral machining planes require the CNC-ISO
functions "Front surface machining" (Transmit) and "Cylindrical
peripheral transformation" (Tracyl) to be set up.
These functions are a software option.
For turning machines with an additional Y axis, the machining planes
are expanded to include two more planes:
• Face Y
• Peripheral Y
Therefore, the face and peripheral planes are called Face C and
Peripheral C.
If the Y axis is an oblique axis (i.e. the axis is not perpendicular to the
others), you can also select the "Face Y" and "Peripheral Y"
machining planes and program the traversing movements in Cartesian
coordinates. The control system then automatically transforms the
programmed traversing movements of the Cartesian coordinate
system into the traversing movements of the oblique axis.
For the transformation of the programmed traversing movements,
ShopTurn needs the CNC-ISO function "Oblique Axis" (Traang).
This function is a software option.
The machining plane selection is integrated into the parameter screen
forms of the individual drilling and milling cycles. For turning cycles
and for "axial drilling" and "axial threads", ShopTurn automatically
selects the Turning plane. For the "straight" and "circle" functions, you
must specify the machining plane separately.
The settings for the machining plane always act modally, i.e. until you
select another plane.
© Siemens AG 2008 All rights reserved.
4-124
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.2 Fundamentals
4
The machining planes are defined as follows:
Y
X
Z
Machining planes
Turning
The Turning machining plane corresponds to the Z/X plane (G18).
Face/Face C
The Face/Face C machining plane corresponds to the X/Y plane
(G17).
For machines without a Y axis, however, the tools can only move in
the Z/X plane. ShopTurn therefore automatically transforms the X/Y
coordinates you entered into a movement in the X and C axis.
You can use face surface machining with a C axis for drilling and
milling if, for instance, you want to mill a pocket on the face surface.
You can choose between the forward or rear face surface for this
purpose.
Peripheral/Peripheral C
The Peripheral/Peripheral C machining plane corresponds to the Y/Z
plane (G19). For machines without a Y axis, however, the tools can
only move in the Z/X plane. ShopTurn therefore automatically
transforms the Y/Z coordinates you entered into a movement in the C
and Z axis.
You can use peripheral surface machining with a C axis for drilling and
milling if, for instance, you want to mill a slot with constant depth on
the peripheral surface. You can choose between the inner or outer
surface for this purpose.
Face Y
The Face Y machining plane corresponds to the X/Y plane (G17).
You can use the face surface machining with a Y axis for drilling and
milling if, for instance, you want to mill a pocket on the front surface.
You can choose between the forward or rear face surface for this
purpose.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-125
Creating a ShopTurn program
01/2008
4
4.2 Fundamentals
4
Peripheral Y
The Peripheral Y machining plane corresponds to the Y/Z plane
(G19).
You can use peripheral surface machining with a Y axis for drilling and
milling if, for instance, you want to mill a pocket with a level bottom on
the peripheral or create drill holes that do not point to the center. You
can choose between the inner or outer surface for this purpose.
4.2.2
Machining cycle approach and retraction
Approaching and retracting during the machining cycle always follows
the same pattern if you have not defined a special approach/retraction
cycle (see Sec. "Programming the approach/retraction cycle"). If the
machine has a tailstock, you can also take this into consideration
when traversing.
The retraction for a cycle ends at the safety distance. Only the
subsequent cycle moves to the retraction plane. This allows the use of
the special approach/retraction cycle (see Sec. "Programming the
approach/retraction cycle").
When selecting the traversing paths, ShopTurn always takes the tool
tip into account; i.e. the elongation of the tool is not taken into
consideration. Therefore, you should ensure that the retraction planes
are an appropriate distance away from the workpiece.
Tool change point
Retract plane
Rapid traverse
Machining feedrate
Safety distance
Machining cycle approach/return
• The tool travels in rapid traverse along the shortest path from the
tool change point to the retraction plane, which runs parallel to the
machining plane.
• After this, the tool travels in rapid traverse to the safety distance.
• Following this, the workpiece is machined at the programmed
machining feedrate.
• After machining, the tool retracts vertically in rapid traverse to the
safety distance.
• The tool then continues to travel vertically in rapid traverse to the
retraction plane.
© Siemens AG 2008 All rights reserved.
4-126
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.2 Fundamentals
4
• From there, the tool travels in rapid traverse along the shortest
path to the tool change point.
If the tool does not need to be changed between two machining
processes, the tool travels from the retraction plane to the next
machining cycle.
The spindle (main, tool, or counter-spindle) begins to rotate
immediately after the tool change.
You define the tool change point, the retraction plane, and the safety
distance in the program header (see Sec. "Creating a new program").
Taking the tailstock into
Tool change point
consideration
Retract plane
XR
Safety distance
Rapid traverse
Machining feedrate
Approach/return allowing for a tailstock
• The tool travels in rapid traverse from the tool change point along
the shortest path to the protective plane XR from the tailstock.
• After this, the tool moves in rapid traverse on the retraction plane in
the X direction.
• After this, the tool travels in rapid traverse to the safety distance.
• Following this, the workpiece is machined at the programmed
machining feedrate.
• After machining, the tool retracts vertically in rapid traverse to the
safety distance.
• The tool then continues to travel vertically in rapid traverse to the
retraction plane.
• After this, the tool travels in the direction X to the protective plane
XR from the tailstock.
• From there, the tool travels in rapid traverse along the shortest
path to the tool change point.
If the tool does not need to be changed between two machining
processes, the tool travels from the retraction plane to the next
machining cycle.
You define the tool change point, the retraction plane, the safety
distance, and the protective area for the tailstock in the program
header (see Sec. "Creating a new program").
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-127
Creating a ShopTurn program
01/2008
4
4.2 Fundamentals
4
4.2.3 Absolute and incremental dimensions
When creating a sequence program, you can input positions in
absolute or incremental dimensions, depending on how the workpiece
drawing is scaled.
You can also use a combination of absolute and incremental
dimensions, i.e. one coordinate as an absolute dimension and the
other as an incremental dimension.
For the plan axis (the X axis, in this case), in the machine data it is
established whether the diameter or radius is programmed in absolute
or incremental dimensions.
Please also refer to the machine manufacturer's instructions.
Absolute dimensions
With absolute dimensions, all position specifications refer to the zero
(ABS)
point of the active coordinate system.
X
P4
P3
P2
P1
7.5
Z
15
25
35
Absolute dimensions
The position specifications for the points P1 to P4 in absolute
dimensions refer to the zero-point:
P1: X25 Z-7.5
P2: X40 Z-15
P3: X40 Z-25
P4: X60 Z-35
© Siemens AG 2008 All rights reserved.
4-128
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.2 Fundamentals
4
Incremental dimensions
With incremental dimensions (also referred to as sequential
(INC)
dimensions) a position specification refers to the previously
programmed point, i.e. the input value corresponds to the path to be
traversed. As a rule, the plus/minus sign does not matter when
entering the incremental value. ShopTurn only evaluates the amount
of the increment. For some parameters, the plus/minus sign specifies
the traversing direction. These exceptions are identified in the
parameter table of the individual functions.
X
P4
P3
P2
P1
Z
10 10
7.5
7.5
Incremental dimensions
The position specifications for points P1 to P4 in incremental
dimensions are as follows:
P1: X25 Z-7.5
(relative to the zero-point)
P2: X15 Z-7.5
(relative to P1)
P3: Z-10
(relative to P2)
P4: X20 Z-10
(relative to P3)
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-129
Creating a ShopTurn program
01/2008
4
4.2 Fundamentals
4
4.2.4 Polar coordinates
You can specify positions using right-angled coordinates or polar
coordinates.
If a point in a workpiece drawing is defined by a value for each
coordinate axis, you can easily input the position into the parameter
screen form using right-angled coordinates. For workpieces that are
dimensioned with arcs or angular data, it is often easier if you input
the positions using polar coordinates.
You can only program polar coordinates for the functions "Straight
circle" and "Contour milling."
The point from which dimensioning starts in polar coordinates is called
the "pole".
X
P3
P2
P1
30°
30°
30°
Pole
Z
30
Polar coordinates
The position specifications for the pole and points P1 to P3 in polar
coordinates are:
Pole: X30
Z30
(relative to the zero-point)
P1:
L30 α30°
(relative to the pole)
P2:
L30 α60°
(relative to the pole)
P3:
L30 α90°
(relative to the pole)
© Siemens AG 2008 All rights reserved.
4-130
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.2 Fundamentals
4
4.2.5 Pocket calculator
You can use the pocket calculator to quickly calculate parameter
values during programming. If, for example, the diameter of a
workpiece is only dimensioned indirectly in the workpiece drawing, i.e.
the diameter must be derived from the sum of several other dimension
specifications, you can calculate the diameter directly in the input field
of this parameter.
The calculation of a parameter value is always done in the input field
of the parameter. In doing this, you can perform as many calculations
as you wish using the following kinds of calculations.
• Operators
+
Addition
-
Subtraction
*
Multiplication
/
Division
()
Parentheses
MOD
Modulo Operation
AND
AND operator
OR
OR operator
NOT
NOT operator
• Constants
PI
3.14159265358979323846
TRUE
1
FALSE
0
• Functions
SIN(x)
Sine of x, (x in degrees)
COS(x)
Cosine of x, (x in degrees)
TAN(x)
Tangent of x, (x in degrees)
ATAN2(x,y)
Inverse tangent of x/y, (x and y in degrees)
SQRT(x)
Square root of x
ABS(x)
Absolute value of x
You can input a maximum of 256 characters in a field.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-131
Creating a ShopTurn program
01/2008
4
4.2 Fundamentals
4
¾ Position the cursor on the input field of a parameter screen form.
¾ Press the "Insert" or “=” key.
=
or
The calculator is active.
¾ Input the arithmetic statement.
You can use arithmetic symbols, numbers, and commas.
¾ Press the "Input" or “=” key.
=
or
The new value is calculated and displayed in the input field. The
calculator is switched off.
If you would first like to delete an old value in an input field, press the
"Backspace" key.
Example: Tool wear +0.1
¾ Position the cursor on the input field "∆LengthX" in the tool wear
list.
¾ Press the "Insert" key.
¾ Input the calculating instructions: + 0.1
¾ Press the "Input" key.
Example: Calculating the
diameter
40
160
Workpiece drawing
© Siemens AG 2008 All rights reserved.
4-132
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.2 Fundamentals
4
¾ Position the cursor on the input field “X” in a parameter screen
form.
¾ Press the "Insert" key.
¾ Input the calculating instructions: 30 * 2 + 50
¾ Press the "Input" key.
4.2.6 Adjustments
If you would like to finish your workpiece to an exact fit, you can input
the master dimension directly into the parameter screen form during
programming.
Specify the master dimension as follows:
F<Diameter/Length> <Tolerance class> <Tolerance quality>
For this, "F" identifies that a master dimension follows.
Example: F20h7
Possible tolerance classes:
A, B, C, D, E, F, G, H, J, T, U, V, X, Y, Z
Upper case letter: Drill-holes
Lowercase letters: Shafts
Possible tolerance qualities:
1 to 18, if they are not restricted by DIN standard 7150.
¾ Position the cursor on the input field of a parameter screen form.
¾ Input the fit.
¾ Press the "Input" key.
The control system automatically calculates the mean value from the
upper and lower limit value.
If you would like to input a lowercase letter, highlight the input
uppercase letter with the cursor and press the "Select" key. If you
press the key again, the uppercase letter reappears.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-133
Creating a ShopTurn program
01/2008
4
4.3 Sequence program
4
4.3
Sequence program
For sequence programs that you create directly at the machine, you
require a software option.
4.3.1
Overview
When creating a sequence program, always proceed according to the
following diagram:
• Create a new program
• Assign a program name
• Fill out the program head
• Program individual machining steps
The following listed machining steps can be selected.
Tool
Æ
>
Straight
>
Circle center
point >
Circle
radius
>
Polar
>
Approach/
Retract
>
Drilling
centric
>
Æ
Thread
centric
>
Drilling
reaming
>
Deep hole
drilling
>
Thread
Tapping
> Æ
Thread
drilling
Positions
>
Repeat
position
>
Stock
Æ
removal
>
© Siemens AG 2008 All rights reserved.
4-134
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.3
Sequence program
4
Recess
>
Undercut
>
Thread
>
Parting
>
New
contour >
Æ
Stock
removal
>
St. remov.
resid.
>
Grooving
>
Grooving
resid.
>
Plunge-
turning
>
Plunge-turn.
resid.
>
Pocket
>
Æ
Spigot
>
Slot
>
Multiple
edge
>
Engraving
Contour
New
milling
> Æ
contour
>
Path
milling
>
Predrilling
>
Pocket
milling
Pocket
resid. mat.
Spigot
milling
Spigot
resid. mat.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-135
Creating a ShopTurn program
01/2008
4
4.3 Sequence program
4
Set
Æ
marker >
Repeat
>
Sub-
routine
>
Counter-
spindle
>
Settings
>
Transfor-
Work
mations > Æ
offset
>
Offset
>
Rotation
>
Scaling
>
Mirroring
>
Rotation
C axis
4.3.2
Creating a new program
For each new workpiece that you would like to finish, create an
individual program. The program contains the individual machining
steps that must be performed for finishing the workpiece.
If you create a new program, a program header and program end are
automatically defined. In the program header, you must set the
following parameters, which are active during the entire program.
WO
The zero-point offset in which the zero-point of the workpiece is
saved.
You can also delete the pre-setting of the parameter if you do not
want to specify a zero-point offset.
Unit of measurement
The unit of measure (millimeters or inches) in the program header is
set in relation to the position specifications in the current program. All
other specifications, such as feedrate or tool offsets, are entered in the
unit of measure that you have set for the entire machine.
Blank
For the blank of the workpiece, you must define the shape (cylinder,
tube, rectangle, or N-angle) and the dimensions.
W: Blank width - only for rectangle
L: Blank length - only for rectangle
N : Number of edges - only for N-angle
© Siemens AG 2008 All rights reserved.
4-136
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.3
Sequence program
4
L: Edge length (alternative to SW) - only for N-angle
SW: Key width (alternative to L) - only for N-angle
XA: Outside diameter (abs) - only for cylinder and tube
XI: Inside diameter (abs or inc) - only for tube
ZA: Initial dimension (abs)
ZI: End dimension (abs or inc)
ZB: Machining dimension (abs or inc)
Cylinder blank
Tube blank
Retraction
The retraction area indicates the area outside of which collision-free
traversing of the axes must be possible.
For each infeed direction, you define a retraction plane that is only
traversed in that direction during positioning. The retraction planes
depend on the shape of the blank and the type of retraction (simple,
expanded, or all).
XRA: Outer retraction plane in direction X (abs. or inc.)
XRI: Inner retraction plane in direction X (abs. or inc.)
ZRA: Outer retraction plane in direction Z (abs. or inc.)
ZRI: Inner retraction plane in direction Z (inc.)
The retraction planes XRA and XRI are always placed in a circle
around the blank, even for rectangular and N-angle blanks.
Retraction tube: Simple
Retraction tube: all
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-137
Creating a ShopTurn program
01/2008
4
4.3 Sequence program
4
The retraction for a cycle ends at the safety distance. Only the
subsequent cycle moves to the retraction plane. This allows the use of
the special approach/retraction cycle (see Sec. "Programming the
approach/retraction cycle").
A change to the retraction plane is already in effect during retraction
from the previous machining (see Sec. "Changing program settings").
When selecting the traversing paths, ShopTurn always takes the tool
tip into account; i.e. the elongation of the tool is not taken into
consideration. Therefore, you should ensure that the retraction planes
are an appropriate distance away from the workpiece.
Tailstock
If your machine has a tailstock, you can further expand the retraction
area so that collisions with the tailstock will be avoided when
traversing the axes.
Enter the retraction plane XRR of the tailstock in absolute dimensions.
Tool change point
The revolver travels to the tool change point with its zero point and
then positions the required tool in the machining position. The tool
change point must be far enough outside the retraction area that it is
not possible for any tool to protrude into the retraction area while the
revolver is moving.
Either you establish the current tool position as a tool change point
(teaching a tool change point) or you must input the coordinates of the
tool change point XT and ZT directly into the parameter screen form.
Teaching in the tool change point is only possible if you have selected
the machine coordinate system (MKS).
Ensure that the tool change point is relative to the zero point of the
revolver and not the tool tip.
Tool change point
© Siemens AG 2008 All rights reserved.
4-138
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.3
Sequence program
4
Safety distance
The safety distance SC defines how close the tool can approach the
workpiece in rapid traverse.
You must input the safety distance incremental dimensions without a
preceding symbol.
Speed limits
If you want to machine the workpiece with a constant cutting speed,
ShopTurn must increase the spindle speed once the workpiece
diameter becomes smaller. Since the speed cannot be increased at
will, you can set a speed limit for the main spindle (S1) and for the
counter-spindle (S3), depending on the shape, size, and material of
the workpiece or collet.
The machine manufacturer only sets one speed limit for the machine,
i.e. none that are dependent on the workpiece.
Please also refer to the machine manufacturer's instructions.
¾ Press the "Program" softkey.
¾ Select the directory in which you want to create a new program.
ShopTurn
¾ Press the "New" and "ShopTurn program" softkeys.
New
program
¾ Enter a program name.
Program names may be a maximum of 24 characters in length.
You can use any letters (except umlauts), digits or the underscore
symbol (_). ShopTurn automatically replaces lowercase letters
with uppercase letters.
¾ Press the "OK" softkey or the "Input" key.
-or-
The parameter screen form “Program Header” is displayed.
Set program header parameters
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-139
Creating a ShopTurn program
01/2008
4
4.3 Sequence program
4
Work
¾ Select a zero-point offset or input a zero-point offset directly into
offset
the input field or call up the zero-point offset list using the "Work
offset" softkey if you want to select a zero-point offset there.
¾ Input the other parameters.
Teach TC
¾ Press the "Teach TC position" softkey if you want to set the
position
current position of the tool as a tool change point.
The tool’s coordinates are adopted by the parameters XT and ZT.
¾ Press the "Accept" softkey.
The work plan is displayed.
ShopTurn has automatically defined the end of the program.
4.3.3 Creating program blocks
After a new program is created and the program header is filled out,
define the individual machining steps in program blocks that are
necessary for finishing the workpiece.
A large amount of memory is available for one program.
However, depending on the storage space required, you can only
program a limited number of blocks.
• ShopTurn on NCU (HMI Embedded sl)
You can program a maximum of 1,000 blocks using the "Straight"
function or a maximum of 600 blocks using the "Pocket" function.
• PCU 50.3 (HMI Advanced)
You can program a maximum of 3,500 blocks using the "Straight"
function or a maximum of 2,100 blocks using the "Pocket"
function.
You can only create the program blocks between the program header
and the program end. The following function groups are available to
you for programming:
• Straight/Circle
• Drilling
• Turning
• Contour turning
• Milling
• Contour milling
• Transformations
© Siemens AG 2008 All rights reserved.
4-140
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.3
Sequence program
4
Fill out an individual parameter screen form for each machining step.
Parameter entry is supported by various "help displays" that explain
the parameters.
The parameters tool, feedrate, speed, and machining are explained in
the following:
T (Tool)
Each time a workpiece is machined, you must program a tool. Tools
are selected by name, and the selection is integrated in all parameter
screen forms of the machining cycles (with the exception of the
straight line/circle).
The tool length offsets become active as soon as the tool is changed.
Tool selection is modal for the straight line/circle, i.e. if the same tool
is used to perform several machining steps occur in succession, you
only have to program one tool for the first straight line/circle.
D (cutting edge)
In the case of tools with several cutting edges, there is a separate set
of individual tool offset data for each edge. For these tools, you must
select or specify the number of the cutting edge that you would like to
use for machining.
Caution
Collisions may occur if you specify the wrong cutting edge number for
some tools (e.g. a flat chamfering drill with guide spigot or step drill)
and then traverse the tool. Always ensure that you enter the correct
cutting edge number.
Radius compensation
ShopTurn automatically takes the tool radius compensation into
account during all machining cycles, with the exception of track milling
and straight. For track milling and straight lines, you have the option of
programming the machining with or without radius compensation. The
tool radius compensation is modal for straight lines, i.e. you have to
deselect the radius compensation if you want to traverse without
radius compensation.
Radius compensation to right of contour
Radius compensation to left of contour
Radius compensation off
Radius compensation remains as previously set
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-141
Creating a ShopTurn program
01/2008
4
4.3 Sequence program
4
F (feedrate)
The feedrate F (also referred to as the machining feedrate) specifies
the speed at which the axes move during machining of the workpiece.
The machining feedrate is entered in mm/min, mm/rev or in mm/tooth.
The feedrate for milling cycles is automatically converted when
switching from mm/min to mm/rev and vice versa.
It is only possible to enter the feedrate in mm/tooth during milling; this
ensures that each cutting edge of the milling cutter is cutting under the
best possible conditions. The feedrate per tooth corresponds to the
linear path traversed by the milling cutter when a tooth is engaged.
For milling and turning cycles, the feedrate during roughing is relative
to the milling or cutting center point. This is also applies to finishing,
with the exception of contours with inner curves. In this case, the
feedrate is relative to the contact point between the tool and the
workpiece.
The maximum feedrate is determined via machine data.
Please refer to the machine manufacturer's instructions.
S (spindle speed)
The spindle speed S specifies the number of spindle revolutions per
minute (rpm) and is programmed along with a tool. The speed
specified relates to the main spindle (S1) or counter-spindle (S3)
during turning machining and axial drilling, and to the tool spindle (S2)
during drilling and milling machining.
The spindle starts immediately after the tool change. The spindle
stops upon reset, program end, or a tool change. The spindle's
direction of rotation is specified in the tool list for each tool.
As an alternative to the spindle speed, you can also program the
cutting speed. During the milling cycles, the spindle speed is
automatically recalculated into the cutting speed and vice versa.
V (cutting speed)
The cutting speed V is a circumferential speed (m/min) and is
programmed together with a tool, as an alternative to the spindle
speed. The cutting speed is relative to the main spindle (V1) or the
counter-spindle (V3) for turning machining and axial drilling, and
corresponds to the circumferential speed of the workpiece at the point
that is currently being machined.
For drilling and milling machining, meanwhile, the cutting speed is
relative to the tool spindle (V2) and corresponds to the circumferential
speed at which the cutting edge of the tool machines the workpiece.
© Siemens AG 2008 All rights reserved.
4-142
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.3
Sequence program
4
Machining
You can choose between roughing, finishing, or complete machining
for the machining of some cycles. For certain milling cycles, finishing
edge or finishing bottom are possible.
•
Roughing
One or more machinings with depth setting
•
Finishing
One-time machining
•
Finishing edge
Only the edge of the object is finished
•
Finishing bottom
Only the bottom of the object is finished
•
Complete machining
Roughing and finishing with a tool in a machining step
If you want to rough and finish using two different tools, you must call
the machining cycle twice (1st block = roughing; 2nd block = finishing).
The programmed parameters are retained when the cycle is called for
the second time.
¾ Position the cursor in the work plan on the line behind which a
new program block is to be inserted.
¾ Using the softkeys, select the desired function (see following
section).
The corresponding parameter screen form is displayed.
¾ Enter the values for the individual parameters.
¾ Press the "Help" key if you want to see the help screen, which
explains the individual parameters.
¾ Press the "Tools" softkey if you want to select a tool from the tool
Tools
list for parameter "T".
-and-
¾ Place the cursor on the tool that you want to use for machining.
-and-
To
¾ Press the "To program" softkey.
program
The selected tool is accepted into the parameter screen form.
¾ Press the "Accept" softkey.
The values are saved and the parameterization screen form is closed.
The process plan is displayed and the newly created program block is
marked.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-143
Creating a ShopTurn program
01/2008
4
4.3 Sequence program
4
4.3.4 Changing program blocks
You can later optimize the parameters in the programmed ShopTurn
blocks or adapt them to new situations, e.g. if you want to increase the
feedrate or shift a position. In this case, you can change all the
parameters in every program block directly in the associated
parameter screen form.
¾ Press the "Program" softkey.
The directory overview is displayed.
¾ Place the cursor on the directory that contains the program that
you want to open.
¾ Press the "Input" or "Cursor Right" key.
-or-
All the programs in this directory are displayed.
¾ Select the program that you want to change.
¾ Press the "Input" or "Cursor Right" key.
-or-
The machining plan of the program is displayed.
¾ Place the cursor on the desired program block in the machining
plan.
¾ Press the "Right cursor" key.
The parameter screen for the selected program block appears.
¾ Make the desired changes.
¾ Press the "Accept" softkey or the "Cursor left" key.
-or-
The changes are accepted in the program.
© Siemens AG 2008 All rights reserved.
4-144
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.3
Sequence program
4
4.3.5 Program editor
You use the program editor when you want to change the sequence of
program blocks within a program, delete program blocks or copy
program blocks from one program to another.
The following functions are available in the program editor:
• Select
You can select several program blocks simultaneously, for
example, for cutting and pasting them subsequently.
• Copy/paste
You can copy and paste program blocks within a program or
between different programs.
• Cut
You can cut and therefore delete program blocks. However, the
program blocks remain in the buffer, so you can still paste them in
somewhere else.
• Search
You can search for a specific block number or any character string
in a program.
• Rename
You can rename a contour in the program editor, e.g. if you have
copied the contour.
• Numbering
When you insert a new or copied program block between two
existing program blocks, ShopTurn automatically assigns a new
block number. This block number may be higher than the one in
the following block. With the "Numbering" function, you can
renumber the program blocks in ascending order.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-145
Creating a ShopTurn program
01/2008
4
4.3 Sequence program
4
Opening the program
¾ Select a program.
editor
¾ Press the "Expansion" key.
The softkeys for the program editor are displayed in the vertical
softkey bar.
Selecting a program
¾ Place the cursor in the machining plan on the first or last block
block
you want to select.
Mark
¾ Press the "Mark" softkey.
¾ Use the cursor keys to select any further program blocks.
The program blocks are marked.
Copying a program block
¾ Select the program block(s) in the machining plan.
Copy
¾ Press the "Copy" softkey.
The program blocks are copied into buffer memory.
Cutting a program block
¾ Select the program block(s) in the machining plan.
Cut
¾ Press the "Cut" softkey.
The program blocks are removed from the machining plan and stored
in buffer memory.
Pasting a program block
¾ Copy or cut the desired program blocks in the machining plan.
¾ Place the cursor on the line after which the program block(s) is
(are) to be inserted.
Insert
¾ Press the "Insert" softkey.
The program blocks are inserted in the machining plan of the program.
© Siemens AG 2008 All rights reserved.
4-146
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
Creating a ShopTurn program
4
4.3
Sequence program
4
Search
Search
¾ Press the "Search" softkey.
>
¾ Enter a block number or text.
¾ Select whether the search is to commence at the start of the
program or the current cursor position.
Search
¾ Press the "Search" softkey.
ShopTurn searches throughout the program. The cursor highlights the
search hit.
Continue
¾ Press the "Continue search" softkey to continue the search, as
search
necessary.
Renaming a contour
¾ Place the cursor on a contour in the machining plan.
¾ Press the "Rename" softkey.
Rename
¾ Enter a new name for the contour.
¾ Press the "OK" softkey.
The name of the contour is changed and displayed in the machining
plan.
Numbering program
blocks
Renumber
¾ Press the "Renumber" softkey.
The program blocks are renumbered in ascending order.
Closing the program
editor
¾ Press the "Back" softkey to close the program editor.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
4-147
Creating a ShopTurn program
01/2008
4
4.3 Sequence program
4
4.3.6 Specifying a quantity
If you want to finish a certain number of the same kind of workpiece,
you can input the desired quantity at the program end. When you start
the program, the program will be repeatedly executed for as many
times as you specified.
If your machine has a bar loader, you can program the reloading of
the workpiece and then the actual machining at the beginning of the
program. Finally, remove the finished workpiece and enter the desired
quantity at the program end.
In this way, workpiece finishing can take place fully automatically.
¾ Open the "Program end" block, if you want to machine more than
one workpiece.
¾ Enter the number of workpieces that you want to machine.
¾ Press the "Accept" softkey.
When you later start the program, the program will be repeatedly
executed for as many times as you specified.
If you want to repeat the program execution an unlimited number of
Endless
times, press the "Endless" softkey.
You can abort the program execution with "Reset."
„
© Siemens AG 2008 All rights reserved.
4-148
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
ShopTurn functions
5
5
ShopTurn functions
5.1
Straight or circular path movements
5-151
5.1.1
Selecting a tool and machining plane
5-152
5.1.2
Straight line
5-154
5.1.3
Circle with known center point
5-156
5.1.4
Circle with known radius
5-157
5.1.5
Polar coordinates
5-159
5.1.6
Straight polar
5-160
5.1.7
Circle polar
5-162
5.2
Drilling
5-163
5.2.1
Centered drilling
5-164
5.2.2
Thread centered
5-166
5.2.3
Drilling and reaming
5-167
5.2.4
Deep hole drilling
5-169
5.2.5
Tapping
5-171
5.2.6
Thread milling
5-173
5.2.7
Positioning and position patterns
5-175
5.2.8
Freely programmable positions
5-176
5.2.9
Line position pattern
5-178
5.2.10
Matrix position pattern
5-179
5.2.11
Box position pattern
5-182
5.2.12
Full circle position pattern
5-184
5.2.13
Pitch circle position pattern
5-186
5.2.14
Including and skipping positions
5-188
5.2.15
Repeating positions
5-189
5.3
Turning
5-190
5.3.1
Roughing cycles
5-190
5.3.2
Recessing cycles
5-193
5.3.3
Undercut form E and F
5-196
5.3.4
Thread undercuts
5-197
5.3.5
Thread cutting
5-199
5.3.6
Thread re-machining
5-203
5.3.7
Parting
5-204
5.4
Contour turning
5-206
5.4.1
Representation of the contour
5-208
5.4.2
Creating a new contour
5-210
5.4.3
Creating contour elements
5-211
5.4.4
Changing a contour
5-216
5.4.5
Stock removal
5-218
5.4.6
Stock removal of residual material
5-222
5.4.7
Grooving
5-224
5.4.8
Grooving residual material
5-226
5.4.9
Plunge-turning
5-227
5.4.10
Plunge-turning residual material
5-229
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
5-149
ShopTurn functions
01/2008
5
5
5.5
Milling
5-231
5.5.1
Rectangular pocket
5-232
5.5.2
Circular pocket
5-236
5.5.3
Rectangular spigot
5-240
5.5.4
Circular spigot
5-244
5.5.5
Longitudinal slot
5-247
5.5.6
Circumferential slot
5-250
5.5.7
Open slot
5-253
5.5.8
Positions
5-259
5.5.9
Multiple edge
5-259
5.5.10
Engraving
5-261
5.6
Contour milling
5-268
5.6.1
Representation of the contour
5-271
5.6.2
Creating a new contour
5-273
5.6.3
Creating contour elements
5-275
5.6.4
Changing a contour
5-282
5.6.5
Path milling
5-284
5.6.6
Predrilling a contour pocket
5-289
5.6.7
Milling a contour pocket (roughing)
5-293
5.6.8
Removing residual material from a contour pocket
5-296
5.6.9
Finishing the contour pocket
5-298
5.6.10
Chamfering a contour pocket
5-302
5.6.11
Milling a contour spigot (roughing)
5-303
5.6.12
Removing residual material from a contour spigot
5-306
5.6.13
Finishing a contour spigot
5-308
5.6.14
Chamfering a contour spigot
5-311
5.7
Calling a subroutine
5-313
5.8
Repeating program blocks
5-315
5.9
Machining with the counterspindle
5-316
5.10
Changing program settings
5-322
5.11
Calling zero offsets
5-323
5.12
Defining coordinate transformations
5-324
5.13
Programming the approach/retraction cycle
5-326
5.14
Inserting G code into the sequence program
5-328
5.15
Teaching
5-330
5.15.1
Teaching a cycle
5-330
5.15.2
Teaching a position pattern
5-331
5.15.3
Teaching a contour object
5-332
© Siemens AG 2008 All rights reserved.
5-150
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
ShopTurn functions
5
5.1
Straight or circular path movements
5
5.1
Straight or circular path movements
When you want to perform straight or circular path movements or
machining without defining a complete contour, you can use the
functions "Straight" or "Circle" respectively.
To program simple machining operations, proceed as follows:
• Specify the tool and the spindle speed
• Select the machining plane
• Program the machining
• Program any further machining
The following machining options are available:
• Straight
• Circle with known center point
• Circle with known radius
• Line with polar coordinates
• Circle with polar coordinates
If you want to program a line or a circle using polar coordinates, you
must define the pole first.
Caution
If you use a straight or circular path movement to move the tool into
the retraction zone specified in the program header, you must also
move the tool out again. Otherwise a collision could occur as a result
of the traversing movements in a subsequently programmed
ShopTurn cycle.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
5-151
ShopTurn functions
01/2008
5
5.1 Straight or circular path movements
5
5.1.1 Selecting a tool and machining plane
Before you can program a line or circle, you have to select the tool,
spindle, spindle speed and machining plane.
If you program a sequence of different straight or circular path
motions, the settings for the tool, spindle, spindle speed and
machining plane remain active until you change them again.
If you change the selected machining plane subsequently, the
coordinates of the programmed path motion are adjusted
automatically to the new machining plane. The originally programmed
coordinates remain unchanged only for a straight motion (right-angled,
not polar).
¾ Press the "Strai. Circle" and "Tool" softkeys.
Tool
>
¾ Enter a tool in parameter field "T".
-or-
¾ Press the "Tools" softkey and select a tool from the tool list.
Tools
-and-
¾ Place the cursor on the tool that you want to use for machining.
-and-
To
¾ Press the "To program" softkey.
program
The tool is copied into the "T" parameter field.
¾ Select the tool cutting edge number D if the tool has several
cutting edges.
¾ In the left-hand input field of the Spindle parameter, select main
spindle (S1), tool spindle (S2) or counterspindle (S3).
¾ Enter the spindle speed or cutting rate in the right-hand input field.
© Siemens AG 2008 All rights reserved.
5-152
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
ShopTurn functions
5
5.1
Straight or circular path movements
5
¾ Choose one of the machining planes (Rotate,
End face/End face C, Peripheral surface/Peripheral surface C,
End face Y or Peripheral surface Y).
¾ Enter the cylinder diameter if you selected the machining plane
Peripheral surface/Peripheral surface C.
-or-
¾ Enter the positioning angle for the CP machining area if you
selected machining plane End face Y.
-or-
¾ Enter reference point C0 if you selected the machining plane
Peripheral surface Y.
¾ Choose whether the spindle should be clamped or released or
whether there should be no change (input field left blank).
¾ Press the "Accept" softkey.
The values are saved and the parameterization screen form is closed.
The process plan is displayed and the newly created program block is
marked.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
5-153
ShopTurn functions
01/2008
5
5.1 Straight or circular path movements
5
5.1.2
Straight line
When you want to program a straight line in Cartesian coordinates,
you can use the "Straight" function.
The tool moves across a straight line at the programmed feedrate or
at rapid traverse from its current position to the programmed end
position.
Radius compensation
Alternately you can implement the straight line with radius
compensation. The radius compensation acts modally; therefore, you
must deactivate the radius compensation again when you want to
traverse without radius compensation. If several straight line blocks
with radius compensation are programmed sequentially, you may
select radius compensation only in the first program block.
For the first straight line with radius compensation, the tool
approaches the starting point without radius compensation and the
end point with radius compensation, i.e. if a vertical path is
programmed, a slope will be traversed. The compensation does not
act over the entire traverse path until the second programmed straight
line with radius compensation. The reverse occurs when radius
compensation is deactivated.
Programmed
Programmed
path
path
Travel path
Travel path
First straight line with radius
First straight line with deactivated radius
compensation
compensation
If you want to prevent deviation from the programmed path, you can
program the first straight line with radius compensation or with
deactivated radius compensation at a distance from the workpiece.
Programming without coordinate data is not possible.
© Siemens AG 2008 All rights reserved.
5-154
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
ShopTurn functions
5
5.1
Straight or circular path movements
5
¾ Press the "Strai. Circle" and "Straight" softkeys.
Straight
>
Rapid
¾ Press the "Rapid traverse" softkey if you want to use rapid
traverse
traverse instead of a programmed machining feedrate.
Parameter
Description
Unit
X
Target position in the X direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Z
Target position in the Z direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Y
Target position in the Y direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
C1
Target position of C axis of main spindle (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
C3
Target position of C axis of counterspindle (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Z3
Target position of special axis (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
F
Machining feedrate
mm/rev
mm/min
mm/tooth
Radius
Input defining which side of the contour the tool machines in the programmed
compensation
direction:
Radius compensation to right of contour
Radius compensation to left of contour
Radius compensation off
The previously programmed setting for radius compensation is used
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
5-155
ShopTurn functions
01/2008
5
5.1 Straight or circular path movements
5
5.1.3 Circle with known center point
To program a circle or arc with a known center point in Cartesian
coordinates, use the "Circle center point" function.
The tool traverses a circular path from its current position to the
programmed target position at the machining feedrate. ShopTurn
calculates the radius of the circle/arc on the basis of the entered
interpolation parameter settings I and K.
¾ Press the "Strai. Circle" and "Circle center point" softkeys.
Circle center
point >
Parameter
Description
Unit
Direction of
Direction of rotation in which the tool travels from the circle starting point to the circle
rotation
end point
Direction of rotation clockwise (right)
Direction of rotation counterclockwise (left)
Machining plane End face/End face C:
X
Target position in the X direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Y
Target position in the Y direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
I
Distance between the circle starting point and the circle center point in the X
mm
direction (inc). The plus/minus sign is evaluated.
J
Distance between the circle starting point and the circle center point in the Y
mm
direction (inc). The plus/minus sign is evaluated.
Machining plane Peripheral surface/Peripheral surface C:
Y
Target position in the Y direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Z
Target position in the Z direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
J
Distance between the circle starting point and the circle center point in the Y
mm
direction (inc). The plus/minus sign is evaluated.
K
Distance between the circle starting point and the circle center point in the Z
mm
direction (inc). The plus/minus sign is evaluated.
Machining plane End face Y:
X
Target position in the X direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Y
Target position in the Y direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
I
Distance between the circle starting point and the circle center point in the X
mm
direction (inc). The plus/minus sign is evaluated.
J
Distance between the circle starting point and the circle center point in the Y
mm
direction (inc). The plus/minus sign is evaluated.
© Siemens AG 2008 All rights reserved.
5-156
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
ShopTurn functions
5
5.1
Straight or circular path movements
5
Machining plane Peripheral surface Y:
Y
Target position in the Y direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Z
Target position in the Z direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
J
Distance between the circle starting point and the circle center point in the Y
mm
direction (inc). The plus/minus sign is evaluated.
K
Distance between the circle starting point and the circle center point in the Z
mm
direction (inc). The plus/minus sign is evaluated.
Machining plane Rotate:
X
Target position ∅ in the X direction (abs) or target position in the X direction (inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Z
Target position in the Z direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
I
Distance between the circle starting point and the circle center point in the X
mm
direction (inc). The plus/minus sign is evaluated.
K
Distance between the circle starting point and the circle center point in the Z
mm
direction (inc). The plus/minus sign is evaluated.
F
Machining feedrate
mm/rev
mm/min
mm/tooth
5.1.4 Circle with known radius
To program a circle or arc with a known radius in Cartesian
coordinates, use the "Circle radius" function.
The tool traverses a circular arc with the programmed radius from its
current position to the programmed target position at the machining
feedrate. The position of the circle center point is calculated by
ShopTurn.
You can choose to traverse the arc in the clockwise or anticlockwise
direction. Depending on the direction of rotation, there are two
options for approaching the target position from the current position
via an arc of the specified radius. You can select the arc of your
choice by entering a positive or a negative sign for the radius.
Target
+
Arc angles of up to 180°: +
Start
Arc angles larger than 180°: -
–
Arcs with different arc angles
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
5-157
ShopTurn functions
01/2008
5
5.1 Straight or circular path movements
5
¾ Press the "Strai. Circle" and "Circle radius" softkeys.
Circle
radius >
Parameter
Description
Unit
Direction of
Direction of rotation in which the tool travels from the circle starting point to the circle
rotation
end point
Direction of rotation clockwise (right)
Direction of rotation counterclockwise (left)
Machining plane End face/End face C:
X
Target position in the X direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Y
Target position in the Y direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Machining plane Peripheral surface/Peripheral surface C:
Y
Target position in the Y direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Z
Target position in the Z direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Machining plane End face Y:
X
Target position in the X direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Y
Target position in the Y direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Machining plane Peripheral surface Y:
Y
Target position in the Y direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Z
Target position in the Z direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Machining plane Rotate:
X
Target position ∅ in the X direction (abs) or target position in the X direction (inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Z
Target position in the Z direction (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
R
Radius of arc
mm
The sign determines the type of arc traversed.
F
Machining feedrate
mm/rev
mm/min
mm/tooth
© Siemens AG 2008 All rights reserved.
5-158
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
ShopTurn functions
5
5.1
Straight or circular path movements
5
5.1.5
Polar coordinates
If a workpiece has been dimensioned from a central point (pole) with
radius and angles, you will find it helpful to program these dimensions
as polar coordinates.
Before you program a straight line or circle in polar coordinates, you
must define the pole, i.e. the reference point, of the polar coordinate
system.
¾ Press the "Strai. Circle", "Polar" and "Pole" softkeys.
Polar
>
Pole
>
Parameter
Description
Unit
Machining plane End face/End face C:
X
X position of the pole (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Y
Y position of the pole (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Machining plane Peripheral surface/Peripheral surface C:
Y
Y position of the pole (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Z
Z position of the pole (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Machining plane End face Y:
X
X position of the pole (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Y
Y position of the pole (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Machining plane Peripheral surface Y:
Y
Y position of the pole (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Z
Z position of the pole (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Machining plane Rotate:
X
X position of the pole ∅ (abs) or X position of the pole (inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
Z
Z position of the pole (abs or inc)
mm
Incremental dimensions: The plus/minus sign is evaluated.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
5-159
ShopTurn functions
01/2008
5
5.1 Straight or circular path movements
5
5.1.6
Straight polar
When you want to program a straight line in polar coordinates, you
can use the "Straight polar" function.
A straight line in the polar coordinate system is defined by the length L
and the angle α. The angle is based on another axis depending on the
machining plane. The direction in which a positive angle points also
depends on the machining plane.
Machining plane
Turning
Face
Peripheral
Reference axis for angle
Z
X
Y
Positive angle in direction of the axis
X
Y
Z
The tool traverses a straight line from its current position to the
programmed end point at the machining feedrate or at rapid traverse.
The 1st line in polar coordinates entered after the pole must be
programmed in absolute dimensions. You can program any further
lines or circles with incremental coordinates.
Radius compensation
Alternately you can implement the straight line with radius
compensation. The radius compensation acts modally, therefore you
must deactivate the radius compensation again when you want to
traverse without radius compensation. Where several straight line
blocks with radius compensation are programmed sequentially, you
may select radius compensation only in the first program block.
For the first straight line with radius compensation, the tool
approaches the starting point without radius compensation and the
end point with radius compensation, i.e. if a vertical path is
programmed, a slope will be traversed. The compensation does not
act over the entire traverse path until the second programmed straight
line with radius compensation. The reverse occurs when radius
compensation is deactivated.
Programmed
Programmed
path
path
Travel path
Travel path
First straight line with radius compensation
First straight line with deactivated radius
compensation
© Siemens AG 2008 All rights reserved.
5-160
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
ShopTurn functions
5
5.1
Straight or circular path movements
5
If you want to prevent deviation from the programmed path, you can
program the first straight line with radius compensation or with
deactivated radius compensation at a distance from the workpiece.
Programming without coordinate data is not possible.
¾ Press the "Strai. Circle", "Polar" and "Straight polar" softkeys.
Polar
>
Straight
polar >
Rapid
¾ Press the "Rapid traverse" softkey if you want to use rapid
traverse
traverse instead of a programmed machining feedrate.
Parameter
Description
Unit
L
Distance between the pole and the end point of line
mm
α
Polar angle (abs or inc)
Degrees
The sign specifies the direction.
F
Machining feedrate
mm/rev
mm/min
mm/tooth
Radius
Input defining which side of the contour the tool machines in the programmed
compensation
direction:
Radius compensation to right of contour
Radius compensation to left of contour
Radius compensation off
The previously programmed setting for radius compensation is used
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
5-161
ShopTurn functions
01/2008
5
5.1 Straight or circular path movements
5
5.1.7
Circle polar
If you want to program a circle or arc using polar coordinates, you can
use the "Circle polar" function.
A circle in the polar coordinate system is defined by an angle α. The
angle is based on another axis depending on the machining plane.
The direction in which a positive angle points also depends on the
machining plane.
Machining plane
Turning
Face
Peripheral
Reference axis for angle
Z
X
Y
Positive angle in direction of the axis
X
Y
Z
The tool traverses a circular path from its current position to the
programmed end point (angle) at the machining feedrate.
The radius is obtained from the distance between the current tool
position and the defined pole, i.e. the circle start and end point
positions are at the same distance from the pole.
The 1st arc in polar coordinates entered after the pole must be
programmed in absolute dimensions. You can program any further
lines or circles with incremental coordinates.
¾ Press the "Strai. Circle", "Polar" and "Circle polar" softkeys.
Polar
>
Circle
polar >
Parameter
Description
Unit
Direction of
Direction of rotation in which the tool travels from the circle starting point to the circle
rotation
end point
Direction of rotation clockwise (right)
Direction of rotation counterclockwise (left)
α
Polar angle (abs or inc)
Degrees
The sign specifies the direction.
F
Machining feedrate
mm/rev
mm/min
mm/tooth
© Siemens AG 2008 All rights reserved.
5-162
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008
01/2008
ShopTurn functions
5
5.2 Drilling
5
5.2
Drilling
The functions explained in this section are used when you want to
program various drill holes on the end face or peripheral surface.
You program drilling operations in the order in which they are
performed. The following technology cycles can be used:
• Drilling centered
• Thread centered
• Centering
• Drilling
• Reaming
• Deep hole drilling
• Tapping
• Thread milling
You have to program the positions or position pattern after the
technology cycles.
All program blocks involved in the drilling operation are shown in the
process plan in square brackets.
Example: Drilling
Clamping a spindle
With off-center drilling, it can be helpful to clamp the spindle to avoid
spindle distortions. The "Clamp spindle" function must be set up by
the machine manufacturer. The machine manufacturer also specifies
whether ShopTurn will clamp the spindle automatically if this would
facilitate machining, or if you can decide the types of machining for
which the spindle should be clamped.
Please also refer to the machine manufacturer's instructions.
If you are to decide the types of machining for which the spindle is to
be clamped, the following applies:
You should note that when machining in planes End face/End face C
and Peripheral surface/Peripheral surface C, clamping remains
activated only until the drilling operation ends. When machining in
planes End face Y and Peripheral surface Y, on the other hand,
clamping is modal, i.e. it remains activated until the machining plane is
changed or clamping is deselected in the "Straight circle" Æ "Tool"
menu.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008 Edition
5-163
ShopTurn functions
01/2008
5
5.2 Drilling
5
5.2.1
Centered drilling
The "Drill centered" function is used to make a drill hole in the center
of the end face.
You can choose between chip breakage during drilling or retraction
from the workpiece for stock removal.
During machining, either the main spindle or counterspindle rotates.
You can use a drill, rotary drill or milling cutter as the tool.
The tool is moved at rapid traverse to the programmed position,
allowing for the return plane and safety clearance.
Chipbreaking
1. The tool drills at the programmed feedrate F as far as the first
infeed depth.
2. The tool retracts by the retraction value V2 and drills as far as the
next infeed depth that can be reduced by the factor DF.
3. Step 2 is repeated until final drilling depth Z1 has been reached
and dwell time DT has expired.
4. The tool moves back to the safety distance at rapid traverse.
Stock removal
1. The tool drills at the programmed feedrate F as far as the first
infeed depth.
2. The tool is retracted from the workpiece at rapid traverse to the
safety clearance for stock removal and is then re-inserted at the
1st infeed depth reduced by a clearance distance calculated by the
control system.
3. The tool then drills down to the next infeed depth that can be
reduced by the factor DF and the tool retracts again for stock
removal.
4. Step 3 is repeated until final drilling depth Z1 has been reached
and dwell time DT has expired.
5. The tool moves back to the safety distance at rapid traverse.
If you want, for example, to drill very deep holes, you can also employ
a rotating tool spindle. First specify the required tool and tool spindle
speed under "Straight/Circle" Æ "Tool" (see Section "Select tool and
machining plane"). Then program the "Drill centered" function.
© Siemens AG 2008 All rights reserved.
5-164
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008 Edition
01/2008
ShopTurn functions
5
5.2 Drilling
5
¾ Press the "Drilling" and "Drilling centric" softkeys.
Drilling
centric >
Break
Solid
¾ Press the "Break chips" or "Solid machin." softkey.
chips
-or-
machin.
Parameter
Description
Unit
T, D, F, S, V
See Section "Creating program blocks".
Shank
The drill is inserted into the workpiece until the drill shank reaches the value
programmed for Z1. The insertion angle entered in the tool list is applied.
Tip
The drill is inserted into the workpiece until the drill tip reaches the value
programmed for Z1.
Z0
Reference point (abs)
mm
Z1
Insertion depth with reference to Z0 for drill tip or drill shank.
mm
(abs. or inc.)
D
Maximum infeed
mm
DF
Percentage for each additional infeed
%
DF = 100: Amount of infeed remains constant
DF < 100: Amount of infeed is reduced in direction of final drilling depth.
Example: DF = 80
Last infeed was 4 mm;
4 x 80% = 3.2; next infeed increment is 3.2 mm
3.2 x 80% = 2.56; next infeed increment is 2.56 mm, etc.
V1
Minimum infeed
mm
Parameter V1 is available only if DF<100% has been programmed.
If the amount of infeed is very small a minimum infeed can be programmed with
parameter V1.
V1 < Amount of infeed: Infeed with infeed value.
V1 < Amount of infeed: Infeed with the value programmed in V1.
V2
Retraction amount (for chipbreaking only)
mm
Amount by which the drill is retracted for chipbreaking.
DT
Dwell time for release cut
s
rev
XD
Center offset in X direction
mm
The center offset can be used for example to produce a drill hole with an exact fit. A
rotary drill (rotary drill type) or U drill (drill type) is required. A "normal" drill is not
suitable.
The maximum center offset is stored in a machine data code.
© Siemens AG 2008 All rights reserved.
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008 Edition
5-165
ShopTurn functions
01/2008
5
5.2 Drilling
5
5.2.2
Thread centered
The "Thread centered" function is used to tap a right-hand or left-hand
thread in the center of the end face.
During machining, either the main spindle or counterspindle rotates.
You can alter the spindle speed via the spindle override; feedrate
override is not operative.
You can select drilling in one cut, chipbreaking or retraction from the
workpiece for stock removal.
The tool is moved at rapid traverse to the programmed position,
allowing for the retraction plane and safety distance.
1 cut
1. The tool drills at the programmed spindle speed S or cut rate V as
far as the final drilling depth Z1.
2. The direction of rotation of the spindle reverses and the tool
retracts to the safety distance at the programmed spindle speed
SR or cut rate VR.
Stock removal
1. The tool drills at the programmed spindle speed S or feedrate V as
far as the first infeed depth (maximum infeed depth D).
2. The tool retracts from the workpiece to the safety distance at
spindle speed SR or cut rate VR for stock removal.
3. Then the tool is inserted again as far as the 1st infeed depth at
spindle speed S or feedrate V and drills to the next infeed depth.
4. Steps 2 and 3 are repeated until the programmed final drilling
depth Z1 is reached.
5. The direction of rotation of the spindle reverses and the tool
retracts to the safety distance at spindle speed SR or cut rate VR.
Chipbreaking
1. The tool drills at the programmed spindle speed S or feedrate V as
far as the first infeed depth (maximum infeed depth D).
2. The tool retracts by the retraction amount V2 for chipbreaking.
3. The tool then drills to the next infeed depth at spindle speed S or
feedrate V.
4. Steps 2 and 3 are repeated until the programmed final drilling
depth Z1 is reached.
5. The direction of rotation of the spindle reverses and the tool
retracts to the safety distance at spindle speed SR or cut rate VR.
© Siemens AG 2008 All rights reserved.
5-166
SINUMERIK 840D sl Operation/Programming ShopTurn (BATsl) - 01/2008 Edition

 

 

 

 

 

 

 

Content      ..     49      50      51      52     ..