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

 

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

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     16      17      18      19     ..

 

 

 

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

 

 

Simulating machining
7.4 Simultaneous recording during machining of the workpiece
7.4
Simultaneous recording during machining of the workpiece
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 execution on the screen.
Software option
You require the option "Simultaneous recording (real-time simulation)" for simultane-
ous recording.
Procedure
1.
Load a program in the "AUTO" mode.
2.
Press the "Sim. rec." softkey.
3.
Press the <CYCLE START> key.
The machining of the workpiece is started and graphically displayed on
the screen.
4.
Press the "Sim. rec." softkey again to stop the recording.
Note
• If you switch on simultaneous recording after the blank information has already been
processed in the program, only traversing paths and tool are displayed.
• If you switch off simultaneous recording during machining and then switch on the function
again at a later time, the traversing paths generated in the meantime will not be displayed.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
295
Simulating machining
7.5 Different views of the workpiece
7.5
Different views of the workpiece
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:
• Top view
• 3D view (with option)
• Side views
• Turn view (for milling/turning machine)
• Half cut view (for milling/turning machine)
• Machine space (with "collision avoidance" option)
Note
Simulation in half cut view
In the simulation, the "Half cut view" is used for more precise viewing of inside turning
operations. This view is not designed for viewing milling operations. Displaying milling
operations in this way can result in long simulation times.
7.5.1
Plan view
Display as a top view
1.
Simultaneous recording or the simulation is started.
2.
Press the "Top view" softkey.
The workpiece is shown from above in the top view.
Changing the display
You can increase or decrease the size of the simulation graphic and move it, as well as change
the segment.
Milling
296
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Simulating machining
7.5 Different views of the workpiece
7.5.2
3D view
Displaying the 3D view
1.
Simultaneous recording or the simulation is started.
2.
Press the "Other views" and "3D view" softkeys.
Software option
You require the option "3D simulation (finished part)" for the simulation.
Changing the display
You can increase or decrease the size of the simulation graphic, move it, turn it, or change the
segment.
Displaying and moving cutting planes
You can display and move cutting planes X, Y, and Z.
See also
Defining cutting planes (Page 305)
7.5.3
Side view
Displaying further side views
1.
Simultaneous recording or the simulation is started.
2.
Press the "Other views" softkey.
3.
Press the "From front" softkey if you wish to view the workpiece from the
front.
- OR -
Press the "From rear" softkey if you wish to view the workpiece from the
rear.
- OR -
Press the "From left" softkey if you wish to view the workpiece from the
left.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
297
Simulating machining
7.5 Different views of the workpiece
- OR -
Press the "From right" softkey if you wish to view the workpiece from the
right.
Changing the display
You can increase or decrease the size of the simulation graphic and move it, as well as change
the segment.
7.5.4
Turning view
Display turning view (for milling/turning machine)
1.
Start the simulation.
2.
Press the "Further views" and "Turn view" softkeys.
Machine manufacturer
Please refer to the machine manufacturer's specifications.
Changing the display
You can increase or decrease the size of the simulation graphic and move it, as well as change
the segment.
7.5.5
Half section
Display "half cut" view (for milling/turning machine)
1.
Start the simulation.
2.
Press the "Further views" and "Half cut view" softkeys.
The half cut view shows the workpiece cut in the Z-X plane.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
Milling
298
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Simulating machining
7.5 Different views of the workpiece
Changing the display
You can increase or decrease the size of the simulation graphic and move it, as well as change
the segment.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
299
Simulating machining
7.6 Editing the simulation display
7.6
Editing the simulation display
7.6.1
Blank display
You have the option of replacing the blank defined in the program or to define a blank for
programs in which a blank definition cannot be inserted.
Note
The unmachined part can only be entered if simulation or simultaneous recording is in the reset
state.
Procedure
1.
The simulation or the simultaneous recording is started.
2.
Press the ">>" and "Blank" softkeys.
The "Blank Input" windows opens and displays the pre-assigned values.
3.
Enter the desired values for the dimensions.
4.
Press the "Accept" softkey to confirm your entries. The newly defined
workpiece is displayed.
7.6.2
Showing and hiding the tool path
The path display follows the programmed tool path of the selected program. The path is
continuously updated as a function of the tool movement. The tool paths can be shown or
hidden as required.
Procedure
1.
The simulation or the simultaneous recording is started.
2.
Press the ">>" softkey.
The tool paths are displayed in the active view.
3.
Press the softkey to hide the tool paths.
The tool paths are still generated in the backg9round and can be shown
again by pressing the softkey again.
4.
Press the "'Delete tool path" softkey.
All of the tool paths recorded up until now are deleted.
Milling
300
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Simulating machining
7.7 Program control during the simulation
7.7
Program control during the simulation
7.7.1
Changing the feedrate
You have the capability of changing the feedrate at any time during the simulation.
You track the changes in the status bar.
Note
If you are working with the "Simultaneous recording" function, you use the rotary switch
(override) on the control panel.
Procedure
1.
Simulation is started.
2.
Press the "Program control" softkey.
3.
Press the "Override +" or "Override -" softkey to increase or decrease the
feedrate by 5%, respectively.
- OR -
Press the "100% override" softkey to set the feedrate to 100%.
- OR -
Press the "<<" softkey to return to the main screen and perform the sim-
ulation with changed feedrate.
Toggling between "Override +" and "Override -"
Simultaneously press the <Ctrl> and <cursor down> or <cursor up> keys to
toggle between the "Override +" and "Override -" softkeys.
Selecting the maximum feedrate
Press the <Ctrl> and <M> keys simultaneously to select the maximum feedrate
of 120%.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
301
Simulating machining
7.7 Program control during the simulation
7.7.2
Simulating the program block by block
You have the capability of controlling the program execution during the simulation, i.e. to
execute a program, e.g. program block by program block.
Procedure
1.
Simulation is started.
2.
Press the "Program control" and "Single block" softkeys.
3.
Press the "Back" and "Start SBL" softkeys.
The pending program block is simulated and then stops.
4.
Press "Start SBL" as many times as you want to simulate a single program
block.
5.
Press the "Program control" and the "Single block" softkeys to exist the
single block mode.
Switching a single block on and off
Press the <CTRL> and <S> keys simultaneously to enable and disable the single
block mode.
Milling
302
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Simulating machining
7.8 Changing and adapting a simulation graphic
7.8
Changing and adapting a simulation graphic
7.8.1
Enlarging or reducing the graphical representation
Precondition
The simulation or the simultaneous recording is started.
Procedure
1.
Press the <+> and <-> keys if you wish to enlarge or reduce the graphic
display.
The graphic display enlarged or reduced from the center.
- OR -
Press the "Details" and "Zoom +" softkeys if you wish to increase the size
of the segment.
- OR -
Press the "Details" and "Zoom -" softkeys if you wish to decrease the size
of the segment.
- OR -
Press the "Details" and "Auto zoom" softkeys if you wish to automatically
adapt the segment to the size of the window.
The automatic scaling function "Fit to size" takes account of the largest
expansion of the workpiece in the individual axes.
Note
Selected section
The selected sections and size changes are kept as long as the program is selected.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
303
Simulating machining
7.8 Changing and adapting a simulation graphic
7.8.2
Panning a graphical representation
Precondition
The simulation or the simultaneous recording is started.
Procedure
1.
Press a cursor key if you wish to move the graphic up, down, left, or right.
7.8.3
Rotating the graphical representation
In the 3D view you can rotate the position of the workpiece to view it from all sides.
Requirement
The simulation or simultaneous recording has been started and the 3D view is selected.
Procedure
1.
Press the "Details" softkey.
2.
Press the "Rotate view" softkey.
3.
Press the "Arrow right", "Arrow left", "Arrow up", "Arrow down", "Arrow
clockwise" and "Arrow counterclockwise" softkeys to change the position
of the workpiece.
- OR -
Keep the <Shift> key pressed and then turn the workpiece in
the desired direction using the appropriate cursor keys.
Milling
304
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Simulating machining
7.8 Changing and adapting a simulation graphic
7.8.4
Modifying the viewport
If you would like to move, enlarge or decrease the size of the segment of the graphical display,
e.g. to view details or display the complete workpiece, use the magnifying glass.
Using the magnifying glass, you can define your own section and then enlarge or reduce its size.
Precondition
The simulation or the simultaneous recording is started.
Procedure
1.
Press the "Details" softkey.
2.
Press the "Magnifying glass" softkey.
A magnifying glass in the shape of a rectangular frame appears.
3.
Press the "Magnify +" or <+> softkey to enlarge the frame.
- OR -
Press the "Magnify -" or <-> softkey to reduce the frame.
- OR -
Press one of the cursor keys to move the frame up, down, left or right.
4.
Press the "Accept" softkey to accept the selected section.
7.8.5
Defining cutting planes
In the 3D view, you have the option of "cutting" the workpiece and therefore displaying certain
views in order to show hidden contours.
Precondition
The simulation or the simultaneous recording is started.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
305
Simulating machining
7.8 Changing and adapting a simulation graphic
Procedure
1.
Press the "Details" softkey.
2.
Press the "Cut" softkey.
The workpiece is displayed in the cut state.
3.
Press the corresponding softkey to shift the cutting plane in the required
direction.
…
Milling
306
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Simulating machining
7.9 Displaying simulation alarms
7.9
Displaying simulation alarms
Alarms might occur during simulation. If an alarm occurs during a simulation run, a window
opens in the operating window to display it.
The alarm overview contains the following information:
• Date and time
• Deletion criterion
Specifies with which softkey the alarm is acknowledged
• Alarm number
• Alarm text
Precondition
Simulation is running and an alarm is active.
Procedure
1.
Press the "Program control" and "Alarm" softkeys.
The "Simulation Alarms" window is opened and a list of all pending alarms
is displayed.
Press the "Acknowledge alarm" softkey to reset the simulation alarms
indicated by the Reset or Cancel symbol.
The simulation can be continued.
- OR -
Press the "Simulation Power On" softkey to reset a simulation alarm indi-
cated by the Power On symbol.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
307
Simulating machining
7.9 Displaying simulation alarms
Milling
308
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Generating a G code program
8
8.1
Graphical programming
Functions
The following functionality is available:
• Technology-oriented program step selection (cycles) using softkeys
• Input windows for parameter assignment with animated help screens
• Context-sensitive online help for every input window
• Support with contour input (geometry processor)
Call and return conditions
• The G functions active before the cycle call and the programmable frame remain active
beyond the cycle.
• The starting position must be approached in the higher-level program before the cycle is
called. The coordinates are programmed in a clockwise coordinate system.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
309
Generating a G code program
8.2 Program views
8.2
Program views
You can display a G code program in various ways.
• Program view
• Parameter screen, either with help screen or graphic view
Note
Help screens / animations
Please note that not all the conceivable kinematics can be displayed in help screens and
animations of the cyclic support.
Program view
The program view in the editor provides an overview of the individual machining steps of a
program.
Figure 8-1
Program view of a G code program
Note
In the program editor settings, you define as to whether cycle calls are to be displayed as plain
text or in NC syntax. You can also configure the recording of the machining times
Milling
310
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Generating a G code program
8.2 Program views
Display of the machining times
Display
Meaning
Light green backg9round
Measured machining time of the program block (automatic mode)
Green backg9round
Measured machining time of the program group (automatic mode)
Light blue backg9round
Estimated machining time of the program block (simulation)
Blue backg9round
Estimated machining time of the program group (simulation)
Yellow backg9round
Wait time (automatic mode or simulation)
Highlighting of selected G code commands or keywords
In the program editor settings, you can specify whether selected G code commands are to be
highlighted in color. The following colors are used as standard:
Display
Meaning
Blue font
D, S, F, T, M and H functions
Red font
"G0" motion command
Green font
"G1" motion command
Blue-green font
"G2" or "G3" motion command
Gray font
Comment
Machine manufacturer
You can define further highlight colors in the "sleditorwidget.ini" configuration file.
Please refer to the machine manufacturer's instructions.
Synchronization of programs on multi-channel machines
Special commands (e.g. GET and RELEASE) are used on multi-channel machines to synchronize
the programs. These commands are marked with a clock symbol.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
311
Generating a G code program
8.2 Program views
If the programs of several channels are displayed, the associated commands are displayed in one
line.
Display
Meaning
Synchronization command
In the program view, you can move between the program blocks using the
<Cursor up> and <Cursor down> keys.
Parameter screen with help display
Press the <Cursor right> key to open a selected program block or cycle in
the program view.
The associated parameter screen with help screen is then displayed.
Figure 8-2
Parameter screen with help display
The animated help displays are always displayed with the correct orientation to the selected
coordinate system. The parameters are dynamically displayed in the graphic. The selected
parameter is displayed highlighted in the graphic.
The colored symbols
Red arrow = tool traverses in rapid traverse
Green arrow = tool traverses with the machining feedrate
Milling
312
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Generating a G code program
8.2 Program views
Parameter screen with graphic view
Press the "Graphic view" softkey to toggle between the help screen and
the graphic view.
Note
Switching between the help screen and the graphic view
The key combination <CTRL> + <G> is also available for the switchover between the help screen
and the graphic view.
Figure 8-3
Parameter screen with a graphical view of a G code program block
See also
Editor settings (Page 229)
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
313
Generating a G code program
8.3 Program structure
8.3
Program structure
G_code programs can always be freely programmed. The most important commands that are
included in the rule:
• Set a machining plane
• Call a tool (T and D)
• Call a work offset
• Technology values such as feedrate (F), feedrate type (G94, G95,
), speed and direction of
rotation of the spindle (S and M)
• Positions and calls, technology functions (cycles)
• End of program
For G code programs, before calling cycles, a tool must be selected and the required technology
values F, S programmed.
A blank can be specified for simulation.
See also
Blank input (Page 318)
Milling
314
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Generating a G code program
8.4 Fundamentals
8.4
Fundamentals
8.4.1
Machining planes
A plane is defined by means of two coordinate axes. The third coordinate axis (tool axis) is
perpendicular to this plane and determines the infeed direction of the tool (e.g. for 2½-D
machining).
When programming, it is necessary to specify the working plane so that the control system can
calculate the tool offset values correctly. The plane is also relevant to certain types of circular
programming and polar coordinates.
=
*
<
*
*
;
Working planes
Working planes are defined as follows:
Plane
Tool axis
X/Y
G17
Z
Z/X
G18
Y
Y/Z
G19
X
8.4.2
Current planes in cycles and input screens
Each input screen has a selection box for the planes, if the planes have not been specified by NC
machine data.
• Empty (for compatibility reasons to screen forms without plane)
• G17 (XY)
• G18 (ZX)
• G19 (YZ)
There are parameters in the cycle screens whose names depend on this plane setting. These are
usually parameters that refer to positions of the axes, such as reference point of a position
pattern in the plane or depth specification when drilling in the tool axis.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
315
Generating a G code program
8.4 Fundamentals
For G17, reference points in the plane are called X0 Y0, for G18 they are called Z0 X0 - and for
G19, they are called Y0 Z0. The depth specification in the tool axis for G17 is called Z1, for G18,
Y1 and for G19, X1.
If the entry field remains empty, the parameters, the help screens and the broken-line graphics
are displayed in the default plane (can be set via machine data):
• Turning: G18 (ZX)
• Milling: G17 (XY)
The plane is transferred to the cycles as new parameter. The plane is output in the cycle, i.e. the
cycle runs in the entered plane. It is also possible to leave the plane fields empty and thus create
a plane-independent program.
The entered plane only applies for this cycle (not modal)! At the end of the cycle, the plane from
the main program applies again. In this way, a new cycle can be inserted in a program without
having to change the plane for the remaining program.
8.4.3
Programming a tool (T)
Calling a tool
1.
You are in the part program.
2.
Press the "Select tool” softkey.
The "Tool selection" window is opened.
3.
Position the cursor on the desired tool and press the "To program" softkey.
The selected tool is loaded into the G code editor. Text such as the follow-
ing is displayed at the current cursor position in the G code editor:
T="ROUGHINGTOOL100"
- OR -
4.
Press the "Tool list" and "New tool" softkeys.
5.
Then select the required tool using the softkeys on the vertical softkey bar,
parameterize it and then press the softkey "To program".
The selected tool is loaded into the G code editor.
6.
Then program the tool change (M6), the spindle direction (M3/M4), the
spindle speed (S...), the feedrate (F), the feedrate type (G94, G95,...), the
coolant (M7/M8) and, if required, further tool-specific functions.
Milling
316
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Generating a G code program
8.5 Generating a G code program
8.5
Generating a G code program
Create a separate program for each new workpiece that you would like to produce. The program
contains the individual machining steps that must be performed to produce the workpiece.
Part programs in the G code can be created under the "Workpiece" folder or under the "Part
programs" folder.
Procedure
1.
Select the "Program Manager" operating area.
2.
Select the required archiving location.
Creating a new part program
3.
Position the cursor on the folder "Part programs" and press the "New"
softkey.
The "New G Code Program" window opens.
4.
Enter the required name and press the "OK" softkey.
The name can contain up to 28 characters (name + dot + 3-character
extension). You can use any letters (except accented), digits or the un-
derscore symbol (_).
The program type (MPF) is set by default.
The project is created and opened in the Editor.
Creating a new part program for a workpiece
5.
Position the cursor on the folder "Workpieces" and press the "New" softkey.
The "New G Code Program" window opens.
6.
Select the file type (MPF or SPF), enter the desired name of the program
and press the "OK" softkey.
The project is created and opened in the Editor.
7.
Enter the desired G code commands.
See also
Changing a cycle call (Page 326)
Creating a new workpiece (Page 783)
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
317
Generating a G code program
8.6 Blank input
8.6
Blank input
Function
The blank is used for the simulation and the simultaneous recording. A useful simulation can
only be achieved with a blank that is as close as possible to the real blank.
Create a separate program for each new workpiece that you would like to produce. The program
contains the individual machining steps that are performed to produce the workpiece.
For the blank of the workpiece, define the shape (cuboid, tube, cylinder, polygon or centered
cuboid) and your dimensions.
Manually reclamping the blank
If the blank is to be manually reclamped from the main spindle to the counterspindle for
example, then delete the blank.
Example
• Blank, main spindle, cylinder
• Machining
• M0 ; Manually reclamping the blank
• Blank, main spindle, delete
• Blank, counterspindle, cylinder
• Machining
The blank entry always refers to the work offset currently effective at the position in the program.
Note
Swiveling
For programs that use "Swiveling", a 0 swivel must first be made and then the blank defined.
Procedure
1.
Select the "Program" operating area.
2.
Press the "Misc." and "Blank" softkeys.
The "Blank Input" window opens.
Milling
318
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Generating a G code program
8.6 Blank input
Parameter
Description
Unit
Data for
Selection of the spindle for blank
• Main spindle
• Counterspindle
Note:
If the machine does not have a counterspindle, then the entry field "Data for" is not applicable.
Clamping
Selecting the clamping location of the blank
• Table
All clampings are mounted on a table
Note: No turning cycles can be used in the program with the "Table" selection.
• C1...
All clampings are mounted on a rotary axis
Note: please refer to the machine manufacturer's specifications.
Blank
Selecting the blank
• Cuboid
• Tube
• Cylinder
• Polygon
• Centered cuboid
• Delete
X0
1. Rectangular point X - (only for cuboid)
Y0
1. Rectangular point Y - (only for cuboid)
X1
2. Rectangular point X (abs) or 2nd rectangular point X referred to X0 (inc) - (only for cuboid)
Y1
2. Rectangular point Y (abs) or 2nd rectangular point Y referred to Y0 (inc) - (only for cuboid)
ZA
Initial dimension
ZI
Final dimension (abs) or final dimension in relation to ZA (inc)
ZB
Machining dimension (abs) or machining dimension in relation to ZA (inc)
XA
Outside diameter - (only for tube and cylinder)
mm
XI
Inside diameter (abs) or wall thickness (inc) - (only for tube)
mm
N
Number of edges - (only for polygon)
SW or L
Width across flats or edge length - (only for polygon)
W
Width of the blank - (only for centered cuboid)
mm
L
Length of the blank - (only for centered cuboid)
mm
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
319
Generating a G code program
8.7 Machining plane, milling direction, retraction plane, safe clearance and feedrate (PL, RP, SC, F)
8.7
Machining plane, milling direction, retraction plane, safe
clearance and feedrate (PL, RP, SC, F)
In the program header, cycle input screens have general parameters that are always repeated.
You will find the following parameters in every input screen for a cycle in a G code program.
Parameter
Description
Unit
PL
Each input screen has a selection box for the planes, if the planes have not been specified
by NC machine data.
Machining plane:
• G17 (XY)
• G18 (ZX)
• G19 (YZ)
Milling
When milling, the machining direction of rotation (climbing or conventional) and the
direction
spindle direction of rotation in the tool list are taken into consideration. The pocket is then
machined in a clockwise or counter-clockwise direction.
During path milling, the programmed contour direction determines the machining direc-
tion.
RP
Retraction plane (abs)
mm
During machining the tool travels in rapid traverse from the tool change point to the return
plane and then to the safety clearance. The machining feedrate is activated at this level.
When the machining operation is finished, the tool travels at the machining feedrate away
from the workpiece to the safety clearance level. It travels from the safety clearance to the
retraction plane and then to the tool change point in rapid traverse.
The retraction plane is entered as an absolute value.
Normally, reference point Z0 and retraction plane RP have different values. The cycle as-
sumes that the retraction plane is in front of the reference point.
SC
Safety clearance (inc)
mm
The safety clearance specifies from which clearance to the material rapid traverse is no
longer used. The direction in which the safety clearance is active is automatically deter-
mined by the cycle. It is generally effective in several directions.
The safety clearance is entered incrementally (without sign).
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 unit of the feedrate (mm/min, mm/rev,
mm/tooth etc. ) always refers to the feedrate type programmed before the cycle call.
The maximum feedrate is determined via machine data.
Milling
320
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Generating a G code program
8.8 Selection of the cycles via softkey
8.8
Selection of the cycles via softkey
Overview of machining steps
The following softkey bars are available to insert machining steps.
All of the cycles/functions available in the control are shown in this display. However, at a
specific system, only the steps possible corresponding to the selected technology can be
selected.
⇒
⇒
⇒
⇒
⇒
⇒
⇒
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
321
Generating a G code program
8.8 Selection of the cycles via softkey
⇒
⇒
⇒
⇒
⇒
⇒
Milling
322
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Generating a G code program
8.8 Selection of the cycles via softkey
Turning cycles only for milling/turning machine
⇒
⇒
⇒
⇒
⇒
⇒
⇒
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
323
Generating a G code program
8.8 Selection of the cycles via softkey
Note:
Please observe the information provided by the machine manufacturer.
⇒
⇒
⇒
⇒
More information on the available measuring variants of the measuring
cycle function "Measure workpiece" can be found in the Measuring Cycles
Programming Maunual.
⇒
More information on the available measuring variants of the measuring
cycle function "Measure workpiece" can be found in the Measuring Cycles
Programming Manual.
Milling
324
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Generating a G code program
8.9 Calling technology functions
8.9
Calling technology functions
8.9.1
Hiding cycle parameters
The documentation describes all the possible input parameters for each cycle. Depending on the
settings of the machine manufacturer, certain parameters can be hidden in the screens, i.e. not
displayed. These are then generated with the appropriate default values when the cycles are
called.
Cycle support
Example
1.
Use the softkeys to select whether you want support for programming
contours, drilling or milling cycles.
2.
Select the desired cycle via the softkey.
3.
Enter the parameters and press the "Accept" key.
The cycle is transferred to the editor as G code.
8.9.2
Setting data for cycles
Cycle functions can be influenced and configured using machine and setting data.
More information on configuring the cycles can be found in the SINUMERIK Operate
Commissioning Manual.
8.9.3
Checking cycle parameters
The entered parameters are already checked during the program creation in order to avoid faulty
entries.
If a parameter is assigned an illegal value, this is indicated in the input screen and is designated
as follows:
• The entry field has a colored backg9round (background color, pink).
• A note is displayed in the comment line.
• If the parameter input field is selected using the cursor, the not is also displayed as tooltip.
The programming can only be completed after the incorrect value has been corrected.
Faulty parameter values are also monitored with alarms during the cycle runtime.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
325
Generating a G code program
8.9 Calling technology functions
8.9.4
Programming variables
In principle, variables or expressions can also be used in the input fields of the screen forms
instead of specific numeric values. In this way, programs can be created very flexibly.
Input of variables
Please note the following points when using variables:
• Values of variables and expressions are not checked since the values are not known at the
time of programming.
• Variables and expressions cannot be used in fields in which a text is expected (e.g. tool name).
An exception is the "Engraving" function , in which you can assign the desired text in the
text field via a variable as "Variable text".
• Selection fields generally cannot be programmed with variables.
Examples
VAR_A
VAR_A+2*VAR_B
SIN(VAR_C)
8.9.5
Changing a cycle call
You have called the desired cycle via softkey in the program editor, entered the parameters and
confirmed with "Accept".
Procedure
1. Select the desired cycle call and press the <Cursor right> key.
The associated input screen of the selected cycle call is opened.
- OR -
Press the <SHIFT + INSERT> key combination.
This starts the edit mode for this cycle call and you can edit it like a normal
NC block. This means that it is possible to generate an empty block before
the cycle is called. For instance, to insert something before a cycle that is
located at the beginning of the program.
Note: In edit mode, the cycle call can be changed in such a way that it can
no longer be recompiled in the parameter screen.
You exit the edit mode by pressing the <SHIFT + INSERT> key combination.
Milling
326
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Generating a G code program
8.9 Calling technology functions
- OR -
You are in the edit mode and press the <INPUT> key.
A new line is created after the cursor position.
See also
Generating a G code program (Page 317)
8.9.6
Compatibility for cycle support
The cycle support is generally upwards compatible. This means that cycle calls in NC programs
can always be recompiled with a higher software version, changed and then run again.
When transferring NC programs to a machine with a lower software version, it cannot be
guaranteed, however, that the program will be able to be changed by recompiling cycle calls.
8.9.7
Additional functions in the input screens
Selection of units
If, for example, the unit can be switched in a field, this is highlighted as soon as the cursor
is positioned on the element. In this way, the operator recognizes the dependency.
The selection symbol is also displayed in the tooltip.
Display of abs or inc
The abbreviations "abs" and "inc" for absolute and incremental values are displayed behind the
entry fields when a switchover is possible for the field.
Help screens
2D and 3D graphics or sectional views are displayed for the parameterization of the cycles.
Online help
If you wish to obtain more detailed information about certain G code commands or cycle
parameters, then you can call a context-sensitive online help.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
327
Generating a G code program
8.10 Measuring cycle support
8.10
Measuring cycle support
Measuring cycles are general subroutines designed to solve specific measurement tasks. They
can be adapted to specific problems via parameter settings.
Software option
You require the "Measuring cycles" option to use "Measuring cycles".
You can find additional information on the use of measuring cycles in the Measuring Cycles
Programming Manual.
Milling
328
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9
The program editor offers graphic programming to generate machining step programs that you
can directly generate at the machine.
Software option
You require the "ShopMill/ShopTurn" option to generate ShopMill machining step pro-
grams.
Program loops
When you open a ShopMill program a program test is always executed. For larger program loops
or nested program loops, this can result in performance problems in the editor. Therefore,
always program program repetitions in the program end block.
Functions
The following functionality is available:
• Technology-oriented program step selection (cycles) using softkeys
• Input windows for parameter assignment with animated help screens
• Context-sensitive online help for every input window
• Support with contour input (geometry processor)
See also
Repeating program blocks (Page 352)
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
329
Creating a ShopMill program
9.1 Program views
9.1
Program views
You can display a ShopMill program in various views:
• Work plan
• Graphic view
• Parameter screen, either with help screen or graphic view
Note
Help screens / animations
Please note that not all the conceivable kinematics can be displayed in help screens and
animations of the cyclic support.
Work plan
The work plan in the editor provides an overview of the individual machining steps of a program.
Figure 9-1
Work plan of a ShopMill program
Note
In the program editor settings, you can specify whether the machining times are to be recorded.
Milling
330
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.1 Program views
Display of the machining times
Display
Meaning
Light green backg9round
Measured machining time of the program block (automatic mode)
Green backg9round
Measured machining time of the program group (automatic mode)
Light blue backg9round
Estimated machining time of the program block (simulation)
Blue backg9round
Estimated machining time of the program group (simulation)
Yellow backg9round
Wait time (program execution and simulation)
Highlighting of selected G code commands or keywords
In the program editor settings, you can specify whether selected G code commands are to be
highlighted in color. The following colors are used as standard:
Display
Meaning
Blue font
D, S, F, T, M and H functions
Red font
"G0" motion command
Green font
"G1" motion command
Blue-green font
"G2" or "G3" motion command
Gray font
Comment
Machine manufacturer
You can define further highlight colors in the "sleditorwidget.ini" configuration file.
Please observe the information provided by the machine manufacturer.
Synchronization of programs on multi-channel machines
Special commands (e.g. GET and RELEASE) are used on multi-channel machines to synchronize
the programs. These commands are marked with a clock symbol.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
331
Creating a ShopMill program
9.1 Program views
If the programs of several channels are displayed, the associated commands are displayed in one
line.
Display
Meaning
Synchronization command
1.
You can move between the program blocks in the work plan by
pressing the <Cursor up> and <Cursor down> keys.
2.
Press the ">>" and "Graphic view" softkeys to display the graphic
view.
Note
Switching between the help screen and the graphic view
The key combination <CTRL> + <G> is also available for the switchover between the help screen
and the graphic view.
Graphic view
The graphic view shows the contour of the workpiece as a dynamic graphic with broken lines.
The program block selected in the work plan is highlighted in color in the graphic view.
Figure 9-2
Graphic view of a ShopMill program
Milling
332
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.1 Program views
Parameter screen with help display
Press the <Cursor right> key to open a selected program block or
cycle in the work plan.
The associated parameter screen with help screen is then dis-
played.
Figure 9-3
Parameter screen with help display
The animated help displays are always displayed with the correct orientation to the selected
coordinate system. The parameters are dynamically displayed in the graphic. The selected
parameter is displayed highlighted in the graphic.
The colored symbols
Red arrow = tool traverses in rapid traverse
Green arrow = tool traverses with the machining feedrate
Parameter screen with graphic view
Press the "Graphic view" softkey to toggle between the help screen and
the graphic view in the screen.
Note
Switching between the help screen and the graphic view
The key combination <CTRL> + <G> is also available for the switchover between the help screen
and the graphic view.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
333
Creating a ShopMill program
9.1 Program views
Figure 9-4
Parameter screen with graphic view
See also
Editor settings (Page 229)
Milling
334
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.2 Program structure
9.2
Program structure
A machining step program is divided into three sub-areas:
• Program header
• Program blocks
• End of program
These sub-areas form a work plan.
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.
Linked blocks
For the "Contour milling", "Milling", and "Drilling" functions, program the technology blocks and
contours or positioning blocks separately. These program blocks are automatically linked by the
control and connected by brackets in the work plan.
In the technology blocks, you specify how and in what form the machining should take place,
e.g. centering first, and then drilling. In the positioning blocks, you define the positions for
drilling or milling operations.
End of program
End of program signals to the machine that the machining of the workpiece has ended. Further,
here you set whether program execute should be repeated.
Note
Number of workpieces
You can enter the number of required workpieces using the "Times, counters" window.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
335
Creating a ShopMill program
9.3 Fundamentals
9.3
Fundamentals
9.3.1
Machining planes
A plane is defined by means of two coordinate axes. The third coordinate axis (tool axis) is
perpendicular to this plane and determines the infeed direction of the tool (e.g. for 2½-D
machining).
When programming, it is necessary to specify the working plane so that the control system can
calculate the tool offset values correctly. The plane is also relevant to certain types of circular
programming and polar coordinates.
=
*
<
*
*
;
Working planes
Working planes are defined as follows:
Plane
Tool axis
X/Y
G17
Z
Z/X
G18
Y
Y/Z
G19
X
9.3.2
Polar coordinates
The rectangular coordinate system is suitable in cases where dimensions in the production
drawing are orthogonal. For workpieces dimensioned with arcs or angles, it is better to define
positions using polar coordinates. This is possible if you are programming a straight line or a
circle.
Polar coordinates have their zero point at the "pole".
Milling
336
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.3 Fundamentals
Example
3
3
<
r
r
3ROH
;
Points P1 and P2 can then be described - with reference to the pole - as follows:
P1: Radius =100 / angle =30°
P2: Radius =60 / angle =75°
9.3.3
Absolute and incremental dimensions
Absolute dimensions
With absolute dimensions, all the position specifications refer to the currently valid zero point.
Applied to tool movement this means: The absolute dimension data defines the position, to
which the tool is to travel.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
337
Creating a ShopMill program
9.3 Fundamentals
Example
<
3
3
3
;
The position data points P1 to P3 in absolute dimensions relative to the zero point are the
following:
P1: X20 Y35
P2: X50 Y60
P3: X70 Y20
Incremental dimensions
In the case of production drawings in which dimensions refer to some other point on the
workpiece rather than the zero point, it is possible to enter an incremental dimension.
When incremental dimensions are entered, each item of position data refers to a point
programmed beforehand.
Milling
338
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.3 Fundamentals
Example
<
3
3
3
;
The position data for points P1 to P3 in incremental dimensions are:
P1: X20 Y35 ;(referred to the zero point)
P2: X30 Y20 ;(referred to P1)
P3: X20 Y-35 ;(referred to P2)
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
339
Creating a ShopMill program
9.4 Creating a ShopMill program
9.4
Creating a ShopMill program
Create a separate program for each new workpiece that you would like to produce. The program
contains the individual machining steps that must be performed to produce the workpiece.
If you create a new program, a program header and program end are automatically generated.
ShopMill programs can be created in a new workpiece or under the folder "Part programs".
Procedure
1.
Select the "Program Manager" operating area.
2.
Select the desired storage location and position the cursor on the folder
"Part programs" or under the folder "Workpieces" on the workpiece for
which you wish to create a program.
3.
Press the "New" and "ShopMill" softkeys.
The "New machining step programming" window opens.
4.
Enter the required name and press the "OK" softkey.
The name can contain up to 28 characters (name + dot + 3-character
extension). You can use any letters (except accented), digits or the un-
derscore symbol (_). The "ShopMill" program type is selected.
The editor is opened and the "Program header" parameter screen is dis-
played.
Filling out the program header
5.
Select a work offset and enter the dimensions of the blank and the pa-
rameters, which are effective over the complete program, e.g. dimension
units in mm or inch, tool axis, retraction plane, safety clearance and ma-
chining direction.
6.
Press the "Accept" softkey.
The work plan is displayed. Program header and end of program are cre-
ated as program blocks.
The end of program is automatically defined.
See also
Creating a new workpiece (Page 783)
Changing program settings (Page 356)
Milling
340
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.5 Program header
9.5
Program header
In the program header, set the following parameters, which are effective for the complete
program.
Parameter
Description
Unit
Dimension unit
The dimension unit (mm or inch) set in the program header only refers to the position
mm
data in the actual program. All other data, such as feedrate or tool offsets, is entered in
inch
the dimension unit that you have set for the entire machine.
Work offset
The work offset in which the workpiece zero is saved.
You can also delete the pre-setting of the parameter if you do not want to specify a work
offset.
Clamping
Selecting the clamping location of the blank for multiple clamping
• Table
All clampings are mounted on a table
Note: No turning cycles can be used in the program with the "Table" selection
• C1 ...
All clampings are mounted on a rotary axis
Note:
Please refer to the machine manufacturer's specifications.
Blank
Define the form and dimensions of the workpiece
• Cylinder
∅A
Outer diameter ∅
mm
• Polygon
N
Number of edges
SW / L
Width across flats
mm
Edge length
• Centered cuboid
W
Width of blank
mm
L
Length of blank
mm
• Cuboid
X0
1. 1st corner point X
mm
Y0
1. 1st corner point Y
mm
X1
2. 2nd corner point X (abs) or 2nd corner point X referred to X0 (inc)
mm
Y1
2. 2nd corner point Y (abs) or 2nd corner point Y referred to Y0 (inc)
mm
ZA
Initial dimension
ZI
Final dimension (abs) or final dimension in relation to ZA (inc)
• Tube
∅A
Outer diameter ∅
mm
∅I
Inner diameter ∅ (abs) or wall thickness (inc)
mm
• Without
Without blank use
HA
Initial dimension
mm
- not for "Cuboid" and
"Without" blanks
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
341
Creating a ShopMill program
9.5 Program header
Parameter
Description
Unit
HI
Final dimension (abs) or final dimension in relation to HA (inc)
mm
- not for "Cuboid" and
"Without" blanks
PL
Machining plane
G17 (XY)
G18 (ZX)
G19 (YZ)
Note: The plane settings can already be defined. Ask the machine manufacturer in
order that the selection box is available.
Retraction plane RP
Planes above the workpiece.
Safety clearance SC:
During machining, the tool travels in rapid traverse from the tool change point to the
return plane (RP) and then to the safety clearance (SC). The machining feedrate is
activated at this height. When the machining operation is finished, the tool traverses at
the machining feedrate away from the workpiece to the safety clearance height. It
traverses from the safety clearance to the retraction plane and then to the tool change
point in rapid traverse. The retraction plane is entered as an absolute value.
The safety clearance must be entered as an incremental value (without sign).
Machining direction
When machining a pocket, a longitudinal slot or a spigot, ShopMill takes the machining
direction (down-cut or up-cut) and the spindle direction in the tool list into account.
The pocket is then machined in a clockwise or counterclockwise direction.
During path milling, the programmed contour direction determines the machining
direction.
Retraction position pat-
• Optimized
tern
When machining with optimized retraction, the tool travels across the workpiece at
the machining feedrate depending on the contour and with a safety clearance (SC).
• To RP
When retracting to RP, the tool is retracted to the retraction plane when the ma-
chining step is complete and infeeds at the new position. Collisions with workpiece
obstacles are thus prevented when the tool is retracted and fed in, e.g. when holes
in pockets or grooves are machined at different levels and positions.
See also
Program header setting, "Clamping" (Page 830)
Milling
342
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.6 Program header (for milling/turning machine)
9.6
Program header (for milling/turning machine)
In the program header, set the following parameters, which are effective for the complete
program.
Parameter
Description
Unit
Dimension unit
The dimension unit (mm or inch) set in the program header only refers to the position
mm
data in the actual program. All other data, such as feedrate or tool offsets, is entered in
inch
the dimension unit that you have set for the entire machine.
Work offset
The work offset in which the workpiece zero is saved.
You can also delete the pre-setting of the parameter if you do not want to specify a work
offset.
Clamping
Selecting the clamping location of the blank
• Table
All clampings are mounted on a table
Note: No turning cycles can be used in the program with the "Table" selection
• C1 ...
All clampings are mounted on a rotary axis
Note:
Please refer to the machine manufacturer's specifications.
Blank
Define the form and dimensions of the workpiece
• Cylinder
ØA
Outer diameter ∅
mm
• Polygon
N
Number of edges
SW / L
Width across flats
mm
Edge length
• Centered cuboid
W
Width of blank
mm
L
Length of blank
mm
• Cuboid
X0
1. corner point X
mm
Y0
1. corner point Y
mm
X1
2. corner point X (abs) or 2nd corner point X referred to X0 (inc)
mm
Y1
2. corner point Y (abs) or 2nd corner point Y referred to Y0 (inc)
mm
ZA
Initial dimension
mm
ZI
Final dimension (abs) or final dimension in relation to ZI (inc)
mm
• Tube
∅A
Outer diameter ∅
mm
ØI
Inner diameter ∅ (abs) or wall thickness (inc)
mm
• Without
Without blank use
HA
Initial dimension
mm
- not for "Cuboid" and
"Without" blanks
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
343
Creating a ShopMill program
9.6 Program header (for milling/turning machine)
Parameter
Description
Unit
HI
Final dimension (abs) or final dimension in relation to HA (inc)
mm
- not for "Cuboid" and
"Without" blanks
PL
Selecting the machining plane
• Machining planes for milling
G17 (XY)
G18 (ZX)
G19 (YZ)
• Machining plane when turning
G18 (ZX)
Retraction, milling
Retraction planes above the workpiece.
- only for "Cuboid" blank
During machining, the tool travels in rapid traverse from the tool change point to the
return plane (RP) and then to the safety clearance (SC). The machining feedrate is
activated at this height. When the machining operation is finished, the tool traverses at
the machining feedrate away from the workpiece to the safety clearance height. It
traverses from the safety clearance to the retraction plane and then to the tool change
point in rapid traverse. The retraction plane is entered as an absolute value.
The safety clearance must be entered as an incremental value (without sign).
Note:
"Retraction milling" cannot be used in turning applications.
Retraction turning
The retraction area indicates the area outside of which collision-free traversing of the
axes must be possible.
- only for "Cylinder",
"Tube", "Centered cu-
boid", "Polygon" and
"Without" blanks
• Simple
XRA
Retraction plane X external ∅ (abs) or
retraction plane X referred to HA (inc)
XRI
- only for "Tube" blank
Retraction plane X internal ∅ (abs) or
retraction plane X referred to HI (inc)
ZRA
Retraction plane Z front (abs) or
retraction plane Z referred to HA (inc)
• Extended - not for a "Tube" blank
XRA
Retraction plane X external ∅ (abs) or
retraction plane X referred to HA (inc)
XRI
Retraction plane X internal ∅ (abs) or
retraction plane X referred to HI (inc)
ZRA
Retraction plane Z front (abs) or
retraction plane Z referred to HA (inc)
• All
XRA
Retraction plane X external ∅ (abs) or
retraction plane X referred to HA (inc)
XRI
Retraction plane X internal ∅ (abs) or
retraction plane X referred to HI (inc)
Milling
344
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.6 Program header (for milling/turning machine)
Parameter
Description
Unit
ZRA
Retraction plane Z front (abs) or
retraction plane Z referred to HA (inc)
ZRI
Retraction plane Z rear
• No
No turning cycles can be used.
Tailstock
• Yes
- not for retraction: "No"
• No
XRR
Retraction plane tailstock - (only "Yes" for tailstock)
- not for retraction: "No"
S1
Speed limit for G96 when turning
- not for retraction: "No"
PL
Machining plane for milling:
G17 (XY)
G18 (ZX)
G19 (YZ)
Note: The plane settings can already be defined. Ask the machine manufacturer in
order that the selection box is available.
Machining plane when turning:
G18 (ZX)
SC
The safety clearance defines how close the tool can approach the workpiece in rapid
traverse.
Note
Enter the safety clearance without sign into the incremental dimension.
Machining direction
When machining a pocket, a longitudinal slot or a spigot, ShopMill takes the machining
direction (down-cut or up-cut) and the spindle direction in the tool list into account.
The pocket is then machined in a clockwise or counterclockwise direction.
During path milling, the programmed contour direction determines the machining
direction.
Retraction position pat-
• Optimized
tern
When machining with optimized retraction, the tool travels across the workpiece at
the machining feedrate depending on the contour and with a safety clearance (SC).
• To RP
When retracting to RP, the tool is retracted to the retraction plane when the ma-
chining step is complete and infeeds at the new position. Collisions with workpiece
obstacles are thus prevented when the tool is retracted and fed in, e.g. when holes
in pockets or grooves are machined at different levels and positions.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
345
Creating a ShopMill program
9.7 Generating program blocks
9.7
Generating 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 to machine the workpiece.
You can only create the program blocks between the program header and the program end.
Procedure
Selecting a technological function
1.
Position the cursor in the work plan on the line behind which a new
program block is to be inserted.
2.
Using the softkeys, select the desired function. The associated parameter
screen is displayed.
3.
First, program the tool, offset value, feedrate and spindle speed (T, D, F, S,
V) and then enter the values for the other parameters.
Selecting a tool from the tool list
4.
Press the "Select tools" softkey if you wish to select the tool for parameter
"T".
The "Tool selection" window is opened.
5.
Position the cursor on the tool that you wish to use for machining and
press the "To program" softkey.
The selected tool is accepted into the parameter screen form.
- OR -
Press the "Tool list" and "New tool" softkeys.
Using the softkeys on the vertical softkey bar, select the required tool with
the data and press the "To program" softkey.
The selected tool is accepted into the parameter screen form.
The process plan is displayed and the newly generated program block is
marked.
Milling
346
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.8 Tool, offset value, feed and spindle speed (T, D, F, S, V)
9.8
Tool, offset value, feed and spindle speed (T, D, F, S, V)
Generally, the following parameters are entered for a program block.
Tool (T)
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.
Cutting edge (D)
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.
NOTICE
Risk of collision
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.
Tool length compensation
Tool length compensation takes effect as soon as the tool is loaded into the spindle. Different tool
offsets can be assigned to each tool with multiple cutting edges.
The tool length compensation of the spindle tool remains active even after the program has
been executed (RESET).
Radius compensation
The tool radius compensation is automatically included in the machining cycles except for path
milling.
For path milling and straight line/circle, you have the option of programming the machining
with or without radius compensation. The tool radius compensation is modal for straight lines/
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
347
Creating a ShopMill program
9.8 Tool, offset value, feed and spindle speed (T, D, F, S, V)
circles, 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
Feedrate (F)
The feedrate F (also referred to as the machining feedrate) specifies the speed at which the tool
moves when machining 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.
With milling cycles, the feedrate for rough cutting is relative to the milling tool center point. This
also applies to finish cutting, with the exception of concave curves where the feedrate is relative
to the contact point between the tool and workpiece.
The maximum feedrate is determined via machine data.
Converting the feedrate (F) for drilling and milling
The feedrate entered for drilling cycles is automatically converted when switching from mm/min
to mm/rev and vice versa using the selected tool diameter.
The feedrate entered for milling cycles is automatically converted when switching from mm/Z to
mm/min and vice versa using the selected tool diameter.
Spindle speed (S) / cutting rate (V)
You have the option of either programming the spindle speed (S) or the cutting rate (V). You can
toggle between them using the <SELECT> key.
In the milling cycles, the spindle speed is automatically converted to the cutting rate and vice
versa.
• Spindle speed and cutting rate remain valid until you program a new tool.
• Spindle speeds are programmed in rpm.
• Cutting rates are programmed in m/min
• You can set the direction of rotation of a tool in the tool list.
Converting the spindle speed (S) / cutting rate (V) when milling.
Milling
348
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.9 Defining machine functions
9.9
Defining machine functions
You can switch-on the coolant or stop machining between the individual machining steps.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
You have the option of defining machine functions as well as your own texts in the "Machine
functions" window.
More information
More information on configuration options can be found in the SINUMERIK Operate
Commissioning Manual.
Procedure
1.
The ShopMill program to be edited has been created and you are in the
editor.
2.
Press the menu forward key and the "Straight Circle" softkey.
3.
Press the "Machine functions" softkey.
The "Machine functions" window opens.
4.
Enter the desired parameters.
5.
Press the "Accept" softkey.
See also
Starting and stopping a spindle manually (Page 174)
Parameters
Description
Unit
Spindle
Spindle M function, defines the spindle direction of rotation or spindle position
•
Spindle off
•
Spindle rotates clockwise
•
Spindle rotates counterclockwise
•
Spindle positions
Stop position
Spindle stop position - (only for spindle M function SPOS)
Degrees
Other M function
Machine functions that are additionally provided by the machine manufacturer
(e.g. "Close door").
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
349
Creating a ShopMill program
9.9 Defining machine functions
Parameters
Description
Unit
Coolant 1
Selects coolant (switches coolant 1 on or off)
• with
• without
Coolant 2
Selects coolant (switches coolant 2 on or off)
• with
• without
Tool-spec. function 1
User machine functions on/off
Tool-spec. function 2
User machine functions on/off
Tool-spec. function 3
User machine functions on/off
Tool-spec. function 4
User machine functions on/off
DT
Dwell time in seconds
s
Time after which machining is continued.
Programmed stop
Programmed stop on
Stops machining at the machine if, under Machine in the "Program control"
window, the check box "Programmed stop" was activated.
Stop
Stop on
Stops machining at the machine.
Note
Coolant after a block search
After a block search, the coolant specified for a tool in the tool management is always output
after a block search even if a different coolant is programmed here.
In this case, the desired coolant can be activated with the "Overstore" function.
Milling
350
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.10 Call work offsets
9.10
Call work offsets
You can call work offsets (G54, etc.) from any program.
You define work offsets in work offset lists. You can also view the coordinates of the selected
offset here.
Procedure
1.
Press the "Various", "Transformations" and "Work offset" softkeys.
The "Work offset" window opens.
2.
Select the desired work offset (e.g. G54).
3.
Press the "Accept" softkey.
The work offset is transferred into the work plan.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
351
Creating a ShopMill program
9.11 Repeating program blocks
9.11
Repeating program blocks
If certain steps when machining a workpiece have to be executed more than once, it is only
necessary to program these steps once. You have the option of repeating program blocks.
Note
Machining several workpieces
The program repeat function is not suitable to program repeat machining of parts.
In order to repeatedly machine the same workpieces (Page 354), program this using "end of
program".
Start and end marker
You must mark the program blocks that you want to repeat with a start and end marker. You can
then call these program blocks up to 200 times within a program. The markers must be unique,
i.e. they must have different names. No names used in the NCK can be used.
You can also set markers and repeats after creating the program, but not within linked program
blocks.
Note
You can use one and the same marker as end marker for preceding program blocks and as start
marker for following program blocks.
Procedure
1.
Position the cursor at the program block, behind which a program block
that will be repeated should follow.
2.
Press the "Various" softkey.
3.
Press the ">>" and "Repeat progr." softkeys.
4.
Press the "Set marker" and "Accept" softkeys.
A start marker is inserted behind the actual block.
5.
Enter the program blocks that you want to repeat later.
6.
Press the "Set marker" and "Accept" softkeys again.
An end marker is inserted after the actual block.
Milling
352
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.11 Repeating program blocks
7.
Continue programming up to the point where you want to repeat the
program blocks.
8.
Press the "Various" and "Repeat progr." softkeys.
9.
Enter the names of the start and end markers and the number of times the
blocks are to be repeated.
10.
Press the "Accept" softkey.
The marked program blocks are repeated.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
353
Creating a ShopMill program
9.12 Specifying the number of workpieces
9.12
Specifying the number of workpieces
If you wish to produce a certain quantity of the same workpiece, then at the end of the program,
specify that you wish to repeat the program.
Control the numbers of times that the program is repeated using the "Times, counters" window.
Enter the number of required workpieces using the target number. You can track the number of
machined and completed workpieces in the actual counter window.
Controlling program repetition
End of program:
Times, counter:
Repeat
Counts the workpie-
ces
No
No
A CYCLE START is required for each workpiece.
No
Yes
A CYCLE START is required for each workpiece.
The workpieces are counted.
Yes
Yes
The program is repeated without a new CYCLE START until
the required number of workpieces have been machined.
Yes
No
Without a new CYCLE START, the program is repeated an
infinite number of times.
You can interrupt program execution with <RESET>.
Procedure
1.
Open the "Program end" program block, if you want to machine more
than one workpiece.
2.
In the "Repeat" field, enter "Yes".
3.
Press the "Accept" softkey.
If you start the program later, program execution is repeated.
Depending on the settings in the "Times, counters" window, the program
is repeated until the set number of workpieces has been machined.
See also
Displaying the program runtime and counting workpieces (Page 279)
Milling
354
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.13 Changing program blocks
9.13
Changing program blocks
You can subsequently optimize the parameters in the programmed 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
directly change all the parameters in every program block in the associated parameter screen
form.
Procedure
1.
Select the program that you wish to change in the "Program Manager"
operating area.
2.
Press the <Cursor right> or <INPUT> key.
The work plan of the program is displayed.
3.
Position the cursor in the work plan at the desired program block and
press the <Cursor right> key.
The parameter screen for the selected program block is displayed.
4.
Make the desired changes.
5.
Press the "Accept" softkey.
- OR -
Press the <Cursor left> key.
The changes are accepted in the program.
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
355
Creating a ShopMill program
9.14 Changing program settings
9.14
Changing program settings
Function
All parameters defined in the program header, with the exception of the dimension unit, can be
changed at any location in the program.
The settings in the program header are modal, i.e. they remain active until they are changed.
For the simulation and the simultaneous recording use a blank. A useful simulation can only be
achieved with a blank that is as close as possible to the real blank.
For the blank of the workpiece, define the shape (cuboid, tube, cylinder, polygon or centered
cuboid) and your dimensions.
The blank entry always refers to the work offset currently effective at the position in the program.
Procedure
1.
Select the "Program" operating area.
2.
Press the "Various" and "Settings" softkeys.
The "Settings" input window opens.
Parameters
Description
Unit
Clamping
Selecting the clamping location of the blank
• Table
The blank is mounted on a table.
• C1...
The blank is mounted on a rotary axis.
Note:
Please refer to the machine manufacturer's specifications.
Blank
Selecting the blank:
• Cylinder
• Tube
• Centered cuboid
• Cuboid
• Polygon
• Without
• Cylinder
∅A
Outer diameter ∅
mm
• Tube
Milling
356
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.14 Changing program settings
Parameters
Description
Unit
∅A
Outer diameter ∅
mm
ØI
Inner diameter Ø (abs) or wall thickness (inc)
mm
• Centered cuboid
W
Width of blank
mm
L
Length of blank
mm
• Cuboid
X0
1st corner point X
mm
Y0
1st corner point Y
mm
X1
2nd corner point X (abs) or 2nd corner point X referred to X0 (inc)
mm
Y1
2nd corner point X (abs) or 2nd corner point X referred to X0 (inc)
mm
ZA
Initial dimension
mm
ZI
Final dimension (abs) or final dimension in relation to ZA (inc)
mm
• Polygon
N
Number of edges
SW
Width across flats
mm
L
Edge length
• Without
No blank use
HA
Initial dimension
mm
HI
Final dimension (abs) or final dimension in relation to HA (inc)
mm
PL
Machining plane
• G17 (XY)
• G18 (ZX)
• G19 (YZ)
RP
Retraction plane (abs)
mm
SC
Safety clearance (inc)
mm
Acts in relation to the reference point. The direction in which the safety clearance is effec-
tive is automatically determined by the cycle.
Machining
Milling direction
direction
• Down-cut
• Up-cut
Retraction position
Lift mode before new infeed
mm
pattern
• To RP
• Optimized
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
357
Creating a ShopMill program
9.15 Selection of the cycles via softkey
9.15
Selection of the cycles via softkey
Overview of machining steps
The following machining steps are available for insertion.
All of the cycles/functions available in the control are shown in this display. However, at a
specific system, only the steps possible corresponding to the selected technology can be
selected.
⇒
⇒
⇒
⇒
⇒
⇒
⇒
Milling
358
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.15 Selection of the cycles via softkey
⇒
⇒
⇒
⇒
⇒
⇒
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
359
Creating a ShopMill program
9.15 Selection of the cycles via softkey
⇒
Turning cycles only for milling/turning machine
⇒
⇒
⇒
⇒
⇒
⇒
Milling
360
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
Creating a ShopMill program
9.15 Selection of the cycles via softkey
Note:
Please refer to the machine manufacturer's specifications.
⇒
⇒
⇒
⇒
⇒
⇒
⇒
⇒
Milling
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3
361
Creating a ShopMill program
9.15 Selection of the cycles via softkey
⇒
⇒
⇒
More information on the available measuring variants of the measuring
cycle function "Measure workpiece" can be found in the Measuring Cycles
Programming Maunual.
⇒
More information on the available measuring variants of the measuring
cycle function "Measure workpiece" can be found in the Measuring Cycles
Programming Manual.
Milling
362
Operating Manual, 10/2020, 6FC5398-7CP40-6BA3

 

 

 

 

 

 

 

Content      ..     16      17      18      19     ..