|
|
Machining the workpiece
6
6.1
Starting and stopping machining
During execution of a program, the workpiece is machined in accordance with the programming
on the machine. After the program is started in automatic mode, workpiece machining is
performed automatically.
Preconditions
The following requirements must be met before executing a program:
• The measuring system of the controller is referenced with the machine.
• The necessary tool offsets and work offsets have been entered.
• The necessary safety interlocks implemented by the machine manufacturer are activated.
General sequence
1.
Use the Program manager to select the desired program.
2.
Select under "NC", "Local. Drive", "USB" or set-up network drives the de-
sired program.
3.
Press the "Select" softkey.
The program is selected for execution and automatically switched to the
"Machine" operating area.
4.
Press the <CYCLE START> key.
The program is started and executed.
Note
Starting the program in any operating area
If the control system is in the "AUTO" mode, you can also start the selected program when you
are in any operating area.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
155
Machining the workpiece
6.1 Starting and stopping machining
Stopping machining
Press the <CYCLE STOP> key.
Machining stops immediately, individual blocks do not finish execution.
At the next start, execution is resumed at the same location where it
stopped.
Canceling machining
Press the <RESET> key.
Execution of the program is interrupted. On the next start, machining will
start from the beginning.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
Turning
156
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.2 Selecting a program
6.2
Selecting a program
Procedure
1.
Select the "Program Manager" operating area.
The directory overview is opened.
2.
Select the location where the program is archived (e.g. "NC")
3.
Place the cursor on the directory containing the program that you want to
select.
4.
Press the <INPUT> key.
- OR -
Press the <Right cursor> key.
The directory contents are displayed.
5.
Place the cursor on the desired program.
6.
Press the "Select" softkey.
When the program has been successfully selected, an automatic change-
over to the "Machine" operating area occurs.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
157
Machining the workpiece
6.3 Executing a trail program run
6.3
Executing a trail program run
When testing a program, you can select that the system can interrupt the machining of the
workpiece after each program block, which triggers a movement or auxiliary function on the
machine. In this way, you can control the machining result block-by-block during the initial
execution of a program on the machine.
Note
Settings for the automatic mode
Rapid traverse reduction and dry run feed rate are available to run-in or to test a program.
Move by single block
In "Program control" you may select from among several types of block processing:
SB mode
Scope
SB1 Single block,
Machining stops after every machine block (except for cycles).
coarse
SB2 Data block
Machining stops after every block, i.e. also for data blocks (except for cycles)
SB3 Single block, fine
Machining stops after every machine block (also in cycles)
Precondition
A program must be selected for execution in "AUTO" or "MDA" mode.
Procedure
1.
Press the "Prog. ctrl." softkey and select the desired variant in the "SBL"
field.
2.
Press the <SINGLE BLOCK> key.
3.
Press the <CYCLE START> key.
Depending on the execution variant, the first block will be executed. Then
the machining stops.
In the channel status line, the text “Stop: Block in single block ended"
appears.
4.
Press the <CYCLE START> key.
Depending on the mode, the program will continue executing until the
next stop.
5.
Press the <SINGLE BLOCK> key again, if the machining is not supposed to
run block-by-block.
The key is deselected again.
If you now press the <CYCLE START> key again, the program is executed
to the end without interruption.
Turning
158
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.4 Displaying the current program block
6.4
Displaying the current program block
6.4.1
Current block display
The window of the current block display shows the program blocks currently being executed.
Display of current program
The following information is displayed in the running program:
• The workpiece name or program name is entered in the header line.
• The program block which is just being processed appears colored.
Display of the machining times
If you set that the machining times are to be recorded in the settings for automatic mode, the
measured times are shown at the end of the line as follows:
Display
Meaning
Light green backg20round
Measured machining time of the program block (automatic mode)
Green backg20round
Measured machining time of the program group (automatic mode)
Light blue backg20round
Estimated machining time of the program block (simulation)
Blue backg20round
Estimated machining time of the program group (simulation)
Yellow backg20round
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
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
159
Machining the workpiece
6.4 Displaying the current program block
Display
Meaning
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.
Editing a program directly
In the Reset state, you can edit the current program directly.
1.
Press the <INSERT> key.
2.
Place the cursor at the relevant position and edit the program block.
Direct editing is only possible for G code blocks in the NC memory, not for
external execution.
3.
Press the <INSERT> key to exit the program and the edit mode again.
See also
Setting for automatic mode (Page 238)
6.4.2
Displaying a basic block
If you want precise information about axis positions and important G functions during testing
or program execution, you can call up the basic block display. This is how you check, when using
cycles, for example, whether the machine is actually traversing.
Positions programmed by means of variables or R parameters are resolved in the basic block
display and replaced by the variable value.
You can use the basic block display both in test mode and when machining the workpiece on the
machine. All G code commands that initiate a function on the machine are displayed in the "Basic
Blocks" window for the currently active program block:
• Absolute axis positions
• G functions for the first G group
• Other modal G functions
Turning
160
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.4 Displaying the current program block
• Other programmed addresses
• M functions
Machine manufacturer
Please observe the information provided by the machine manufacturer.
Procedure
1.
A program is selected for execution and has been opened in the "Machine"
operating area.
2.
Press the "Basic blocks" softkey.
The "Basic Blocks" window opens.
3.
Press the <SINGLE BLOCK> key if you wish to execute the program block by
block.
4.
Press the <CYCLE START> key to start the program execution.
The axis positions to be approached, modal G functions, etc., are displayed
in the "Basic Blocks" window for the currently active program block.
5.
Press the "Basic blocks" softkey once again to hide the window again.
6.4.3
Display program level
You can display the current program level during the execution of a large program with several
subprograms.
Several program run throughs
If you have programmed several program run throughs, i.e. subprograms are run through
several times one after the other by specifying the additional parameter P, then during
processing, the program runs still to be executed are displayed in the "Program Levels" window.
Program example
N10 subprogram P25
If, in at least one program level, a program is run through several times, a horizontal scroll bar
is displayed that allows the run through counter P to be viewed in the righthand window section.
The scroll bar disappears if multiple run-through is no longer applicable.
Display of program level
The following information will be displayed:
• Level number
• Program name
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
161
Machining the workpiece
6.4 Displaying the current program block
• Block number, or line number
• Remain program run throughs (only for several program run throughs)
Precondition
A program must be selected for execution in "AUTO" mode.
Procedure
Press the "Program levels" softkey.
The "Program levels" window appears.
Turning
162
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.5 Correcting a program
6.5
Correcting a program
As soon as a syntax error in the part program is detected by the controller, program execution
is interrupted and the syntax error is displayed in the alarm line.
Correction options
Depending on the state of the control system, you have various options of correcting the
program.
• Stop state
Only change lines that have not been executed
• Reset status
Change all lines
Note
The "program correction" function is also available for execute from external; however, when
making program changes, the NC channel must be brought into the reset state.
Precondition
A program must be selected for execution in "AUTO" mode.
Procedure
1.
The program to be corrected is in the Stop or Reset mode.
2.
Press the "Prog. corr.” softkey.
The program is opened in the editor.
The program preprocessing and the current block are displayed. The cur-
rent block is also updated in the running program, but not the displayed
program section, i.e. the current block moves out of the displayed pro-
gram section.
If a subprogram is executed, it is not opened automatically.
3.
Make the necessary corrections.
4.
Press the "NC Execute" softkey.
The system switches back to the "Machine" operating area and selects
"AUTO" mode.
5.
Press the "CYCLE START" key to resume program execution.
Note
When you exit the editor using the "Close" softkey, you return to the "Program manager"
operating area.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
163
Machining the workpiece
6.6 Repositioning axes
6.6
Repositioning axes
After a program interruption in the automatic mode (e.g. after a tool breaks), you can move the
tool away from the contour in manual mode.
The coordinates of the interrupt position will be saved. The distances traversed in manual mode
are displayed in the actual value window. This path difference is called "REPOS offset".
Resuming program execution
You use the "REPOS" function to return the tool to the contour of the workpiece to continue
executing the program.
The interrupt position is not passed as it is blocked by the control system.
The feedrate/rapid traverse override is in effect.
NOTICE
Risk of collision
When repositioning, the axes move with the programmed feedrate and linear interpolation, i.e.
in a straight line from the current position to the interrupt point. Therefore, you must first move
the axes to a safe position in order to avoid collisions.
If you do not use the "REPOS" function after a program interrupt and then traversing the axes
in manual mode, then on changing to automatic mode and starting the machining process, the
control automatically traverses the axes in straight lines back to where they were at point of
interruption.
Requirement
The following prerequisites must be met when repositioning the axes:
• The program execution was interrupted using <CYCLE STOP>.
• The axes were moved from the interrupt point to another position in manual mode.
Procedure
1.
Press the <REPOS> key.
2.
Select the axes to be traversed one after the other.
;
=
3.
Press the <+> or <-> key for the relevant direction.
The axes are moved to the interrupt position.
Turning
164
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.7 Starting machining at a specific point
6.7
Starting machining at a specific point
6.7.1
Use block search
If you only want to perform a certain section of a program on the machine, then you have to start
the program from the beginning. You can start the program from a specified program block.
Applications
• Stopping or interrupting program execution
• Specify a target position, e.g. during remachining
Determining a search target
• User-friendly search target definition (search positions)
- Direct specification of the search target by positioning the cursor in the selected program
(main program)
Note:
During the block search it must be ensured that the correct tool is in the working position
before starting the execution of the program.
ShopTurn has automated this process. Any necessary tool change is automatically
executed with ShopTurn program steps with this block search variant.
Please observe the information provided by the machine manufacturer.
- Search target via text search
- The search target is the interruption point (main program and subprogram)
The function is only available if there is an interruption point. After a program interruption
(CYCLE STOP, RESET or Power Off), the controller saves the coordinates of the interruption
point.
- The search target is the higher program level of the interruption point (main program and
subprogram)
A change of planes is only possible if an interruption point located in a subprogram is
selected. It is thus possible to switch to the main program level and back to the level of the
interruption point.
• Search pointer
- Direct entry of the program path
Note
You can search for a specific point in subprograms with the search pointer if there is no
interruption point.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
165
Machining the workpiece
6.7 Starting machining at a specific point
Cascaded search
You can start another search from the "Search target found" state. Each time a search target is
found, it is possible to continue cascading arbitrarily.
Note
Another cascaded block search can be started from the stopped program execution only if the
search target has been found.
Preconditions
• You have selected the desired program.
• The controller is in the reset state.
• The desired search mode is selected.
NOTICE
Risk of collision
Pay attention to a collision-free start position and appropriate active tools and other
technological values.
If necessary, manually approach a collision-free start position. Select the target block
considering the selected block search variant.
Toggling between search pointer and search positions
Press the "Search pointer" softkey again to exit the "Search Pointer" win-
dow and return to the program window to define search positions.
- OR -
Press the "Back" softkey.
You have now exited the block search function.
Further information
You can find further information on the block search function in the Basic Functions Function
Manual.
See also
Selecting a program (Page 157)
Turning
166
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.7 Starting machining at a specific point
6.7.2
Continuing program from search target
Press the "CYCLE START" key twice to continue the program from the desired position.
• The first CYCLE START outputs the auxiliary functions collected during the search. The
program is then in the Stop state.
• Before the second CYCLE START, you can use the "Overstore" function to create states that are
required, but not yet available, for the further program execution.
If the set position is not to be approached automatically after the program start, you can also
traverse the tool manually from the current position to the set position by changing to JOG
mode for the REPOS function
6.7.3
Simple search target definition
Requirement
The program is selected and the controller is in Reset mode.
Procedure
1.
Press the "Block search" softkey.
2.
Place the cursor on a particular program block.
- OR -
Press the "Find text" softkey, select the search direction, enter the search
text and confirm with "OK".
3.
Press the "Start search" softkey.
The search starts. Your specified search mode will be taken into account.
The current block will be displayed in the "Program" window as soon as
the target is found.
4.
If the located target (for example, when searching via text) does not
correspond to the program block, press the "Start search" softkey again
until you find your target.
Press the <CYCLE START> key twice.
Processing is continued from the defined position.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
167
Machining the workpiece
6.7 Starting machining at a specific point
6.7.4
Defining an interruption point as search target
Requirement
A program was selected in "AUTO" mode and interrupted during execution through CYCLE STOP
or RESET.
Procedure
1.
Press the "Block search" softkey.
2.
Press the "Interrupt point" softkey.
The interruption point is loaded.
3.
If the "Higher level" and "Lower level" softkeys are available, use these to
change the program level.
4.
Press the "Start search" softkey.
The search starts. Your specified search mode will be taken into account.
The search screen closes.
The current block will be displayed in the "Program" window as soon as the
target is found.
5.
Press the <CYCLE START> key twice.
The execution will continue from the interruption point.
6.7.5
Entering the search target via search pointer
Enter the program point which you would like to proceed to in the "Search Pointer" window.
Requirement
The program is selected and the controller is in the reset state.
Screen form
Each line 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 subprograms.
You must enter the target in the line of the window corresponding to the program level in which
the target is located.
Turning
168
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.7 Starting machining at a specific point
For example, if the target is located in the subprogram called directly from the main program,
you must enter the target in program level 2.
The target specification must always be unique. This means, for example, that if the subprogram
is called in the main program in two different places, you must also specify a target in program
level 1 (main program).
Procedure
1.
Press the "Block search" softkey.
2.
Press the "Search pointer" softkey.
3.
Enter the full path of the program as well as the subprograms, if required,
in the input fields.
4.
Press the "Start search" softkey.
The search starts. Your specified search mode will be taken into account.
The Search window closes. The current block will be displayed in the
"Program" window as soon as the target is found.
5.
Press the <CYCLE START> key twice.
Processing is continued from the defined location.
Note
Interruption point
You can load the interruption point in search pointer mode.
6.7.6
Parameters for block search in the search pointer
Parameter
Meaning
Number of program level
Program:
The name of the main program is automatically entered
Ext:
File extension
P:
Number of subprogram repetitions
If a subprogram is performed several times, you can enter the number of the pass
here at which processing is to be continued
Line:
Is automatically filled for an interruption point
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
169
Machining the workpiece
6.7 Starting machining at a specific point
Parameter
Meaning
Type
" " search target is ignored on this level
N no. Block number
Label Jump label
Text string
Subprg. Subprogram call
Line Line number
Search target
Point in the program at which machining is to start
6.7.7
Block search mode
Set the desired search variant in the "Search Mode" window.
The set mode is retained when the control is shut down. When you activate the "Search" function
after restarting the control, the current search mode is displayed in the title row.
Search variants
Block search mode
Meaning
With calculation
Is used in any circumstances in order to approach a target position (e.g. tool
change position).
- without approach
The end position of the target block or the next programmed position is ap-
proached using the type of interpolation valid in the target block. Only the axes
programmed in the target block are moved.
Note:
If machine data 11450.1=1 is set, the rotary axes of the active swivel data
record are pre-positioned after the block search.
With calculation
It is used to be able to approach the contour in any circumstance.
- with approach
The end position of the block prior to the target block is found with <CYCLE
START>. The program runs in the same way as in normal program processing.
Note:
This block search mode should only be used in exceptional cases if machining
was directly interrupted at the workpiece - and machining is to directly con-
tinue at the workpiece again.
For a ShopTurn program, this block search mode can only be performed on G
code blocks.
If possible, the block search mode "with calculation - without approach" should
be used.
With calculation
This is used to speed-up a search with calculation when using EXTCALL pro-
grams: EXTCALL programs are not taken into account.
- skip extcall
Notice: Important information, e.g. modal functions, which are located in the
EXTCALL program, are not taken into account. In this case, after the search
target has been found, the program is not able to be executed. Such informa-
tion should be programmed in the main program.
Turning
170
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.7 Starting machining at a specific point
Block search mode
Meaning
Without calculation
For a quick search in the main program.
Calculations will not be performed during the block search, i.e. the calculation
is skipped up to the target block.
All settings required for execution have to be programmed from the target
block (e.g. feedrate, spindle speed, etc.).
With program test
Multi-channel block search with calculation (SERUPRO).
All blocks are calculated during the block search. Absolutely no axis motion is
executed, however, all auxiliary functions are output.
The NC starts the selected program in the program test mode. If the NC reaches
the specified target block in the actual channel, it stops at the beginning of the
target block and deselects program test mode again. After continuing the
program with NC start (after REPOS motion) the auxiliary functions of the
target block are output.
For single-channel systems, the coordination is supported with events running
in parallel, e.g. synchronized actions.
Note
The search speed depends on MD settings.
Note
Search mode for ShopTurn programs
• The search variant for the ShopTurn machining step programs can be specified via MD 51024.
This applies only to the ShopTurn single-channel view.
Machine manufacturer
Please refer to the machine manufacturer's specifications.
Further information
You can find further information on configuring the block search in the SINUMERIK Operate
Commissioning Manual.
Procedure
1.
Select the "Machine" operating area.
2.
Press the <AUTO> key.
3.
Press the "Block search" and "Block search mode" softkeys.
The "Search Mode" window opens.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
171
Machining the workpiece
6.7 Starting machining at a specific point
6.7.8
Block search for position pattern
It is possible performing a block search for the position pattern. You can define the number of the
starting hole.
With ShopTurn programs you can also define the technology with which you want to start.
Software option
You need the "ShopMill/ShopTurn" option for the block search for ShopTurn machining
step programs.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
Procedure
You can find the required ShopTurn program or G code program in the
block display.
1.
Press the "Block search" softkey.
2.
Position the cursor to the position block.
3.
Press the "Start search" softkey.
The "Search" window opens.
Define technology (only with ShopTurn program)
4.
All of the technologies used on the position pattern are listed.
Select the desired technology and press "OK".
The selected technology is displayed in the "Search" window.
Specify starting hole
5.
Enter the number of the starting hole and press "OK".
Program processing starts with the specified technology (only for Shop-
Turn programs) at the specified starting hole, and continues to all addi-
tional positions of the current position pattern and all of the following
position patterns.
Note
If you have hidden certain positions, then only the displayed positions
count for the number of the starting hole.
Turning
172
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.8 Controlling the program run
6.8
Controlling the program run
6.8.1
Program control
You can change the program sequence in the "AUTO" and "MDA" modes.
Abbreviation/program
Mode of operation
control
PRT
The program is started and executed with auxiliary function outputs and dwell times. In this
mode, the axes are not traversed.
No axis motion
The programmed axis positions and the auxiliary function outputs are controlled this way.
Note:
You can activate program execution without any axis motion using the "Dry run feedrate".
DRY
The traversing velocities programmed in conjunction with G1, G2, G3, CIP and CT are replaced
by a defined dry run feedrate. The dry run feedrate also applies instead of the programmed
Dry run feedrate
revolutional feedrate.
Notice:
Do not machine any workpieces when "Dry run feedrate" is active because the altered feedrates
might cause the permissible tool cutting rates to be exceeded and the workpiece or machine tool
could be damaged.
RG0
In the rapid traverse mode, the traversing speed of the axes is reduced to the percentage value
entered in RG0.
Reduced rapid traverse
Note:
You define the reduced rapid traverse in the settings for automatic operation.
M01
The processing of the program stops at every block in which supplementary function M01 is
programmed. In this way you can check the already obtained result during the processing of a
Programmed stop 1
workpiece.
Note:
In order to continue executing the program, press the <CYCLE START> key again.
Programmed stop 2
The processing of the program stops at every block in which the "Cycle end" is programmed (e.g.
with M101).
(e.g. M101)
Note:
In order to continue executing the program, press the <CYCLE START> key again.
Note: The display can be changed. Please observe the information provided by the machine
manufacturer.
DRF
Enables an additional incremental work offset while processing in automatic mode with an
electronic handwheel.
Handwheel offset
This function can be used to compensate for tool wear within a programmed block.
SB
Individual blocks are configured as follows.
• Single block, coarse: The program stops only after blocks which perform a machine function.
• Data block: The program stops after each block.
• Single block, fine: The program also stops only after blocks which perform a machine function
in cycles.
Select the desired setting using the <SELECT> key.
SKP
Skip blocks are skipped during machining.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
173
Machining the workpiece
6.8 Controlling the program run
Abbreviation/program
Mode of operation
control
MRD
In the program, the measurement results screen display is activated while machining.
CST
Program processing stops at the points you defined as relevant to stop before the program
started. These may be, for example, especially critical points, at which you can check the cor-
Configured stop
rectness of the sequence or exclude collisions.
The following NC function transitions can be activated as default setting in window "Program
control" as stop relevant:
• Transition G0-G1
• Transition G1-G0
• Transition G0-G0
You can also define NC functions (auxiliary functions, cycle calls, T-preselection) as NC function
transitions.
Note:
Please observe the information provided by the machine manufacturer.
Activating program control
You can control the program sequence however you wish by selecting and clearing the relevant
checkboxes.
Display / response of active program controls
If program control is activated, the abbreviation of the corresponding function appears in the
status display as feedback response.
Procedure
1.
Select the "Machine" operating area.
2.
Press the <AUTO> or <MDI> key.
3.
Press the "Prog. ctrl." softkey.
The "Program Control" window opens.
6.8.2
Skip blocks
You can skip program blocks that are not to be executed every time the program runs.
The skip blocks are identified by placing a "/" (forward slash) or "/x" (x = number of skip level)
character in front of the block number. You have the option of hiding several block sequences.
Turning
174
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.8 Controlling the program run
The statements in the skipped blocks are not executed. The program continues with the next
block, which is not skipped.
The number of skip levels that can be used depends on a machine datum.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
Skip levels, activate
Select the corresponding checkbox to activate the desired skip level.
Note
The "Program Control - Skip Blocks" window is only available when more than one skip level is
set up.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
175
Machining the workpiece
6.9 Overstore
6.9
Overstore
With overstore, you have the option of executing technological parameters (for example,
auxiliary functions, axis feed, spindle speed, programmable instructions, etc.) before the
program is actually started. The program instructions act as if they are located in a normal part
program. These program instructions are, however, only valid for one program run. The part
program is not permanently changed. When next started, the program will be executed as
originally programmed.
After a block search, the machine can be brought into another state with overstore (e.g. M
function, tool, feed, speed, axis positions, etc.), in which the normal part program can be
successfully continued.
Requirement
The program to be corrected is in the Stop or Reset mode.
Procedure
1.
Select the "Machine" operating area in the "AUTO" mode.
2.
Press the "Overstore" softkey.
The "Overstore" window opens.
3.
Enter the required data and NC block.
4.
Press the <CYCLE START> key.
The blocks you have entered are stored. You can observe execution in the
"Overstore" window.
After the entered blocks have been executed, you can append blocks
again.
You cannot change the operating mode while you are in overstore mode.
5.
Press the "Back" softkey.
The "Overstore" window closes.
6.
Press the <CYCLE START> key again.
The program selected before overstoring continues to run.
Note
Block-by-block execution
The <SINGLE BLOCK> key is also active in the overstore mode. If several blocks are entered in the
overstore buffer, then these are executed block-by-block after each NC start
Turning
176
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.9 Overstore
Deleting blocks
Press the "Delete blocks" softkey to delete program blocks you have en-
tered.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
177
Machining the workpiece
6.10 Editing a program
6.10
Editing a program
With the editor, you are able to render, supplement, or change part programs.
Note
Maximum block length
The maximum block length is 512 characters.
Calling the editor
• The editor is started via the "Program correction" softkey in the "Machine" operating area. You
can directly change the program by pressing the <INSERT> key.
• The editor is called via the "Open" softkey as well as with the <INPUT> or <Cursor right> key
in the "Program manager" operating area.
• The editor opens in the "Program" operating area with the last executed part program, if this
was not explicitly exited via the "Close" softkey.
Note
• Please note that the changes to programs saved in the NC memory take immediate
effect.
• If you are editing on a local drive or external drives, you can also exit the editor without
saving, depending on the setting. Programs in the NC memory are always automatically
saved.
• Exit the program correction mode using the "Close" softkey to return to the "Program
manager" operating area.
See also
Editor settings (Page 186)
Correcting a program (Page 163)
Opening and closing the program (Page 795)
Generating a G code program (Page 274)
6.10.1
Searching in programs
You can use the search function to quickly arrive at points where you would like to make
changes, e.g. in very large programs.
Various search options are available that enable selective searching.
Turning
178
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.10 Editing a program
Search options
• Whole words
Activate this option and enter a search term if you want to search for texts/terms that are
present as words in precisely this form.
If, for example, you enter the search term "Finishing tool", only single "Finishing tool" terms
are displayed. Word combinations such as "Finishing tool_10" are not found.
• Exact expression
Activate this option if you wish to search for terms with characters, which can also be used
as place holders for other characters, e.g. "?" and "*".
Note
Search with place holders
When searching for specific program locations, you have the option of using place holders:
• "*": Replaces any character string
• "?": Replaces any character
Precondition
The desired program is opened in the editor.
Procedure
1.
Press the "Search" softkey.
A new vertical softkey bar appears.
The "Search" window opens at the same time.
2.
Enter the desired search term in the "Text" field.
3.
Select "Whole words" if you want to search for whole words only.
- OR -
Activate the "Exact expression" checkbox if, for example, you want to
search for place holders ("*", "?") in program lines.
4.
Position the cursor in the "Direction" field and choose the search direction
(forward, backward) with the <SELECT> key.
5.
Press the "OK" softkey to start the search.
If the text you are searching for is found, the corresponding line is high-
lighted.
6.
Press the "Continue search" softkey if the text located during the search
does not correspond to the point you are looking for.
- OR -
Press the "Cancel" softkey when you want to cancel the search.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
179
Machining the workpiece
6.10 Editing a program
Further search options
Softkey
Function
The cursor is set to the first character in the program.
The cursor is set to the last character in the program.
6.10.2
Replacing program text
You can find and replace text in one step.
Precondition
The desired program is opened in the editor.
Procedure
1.
Press the "Search" softkey.
A new vertical softkey bar appears.
2.
Press the "Find and replace" softkey.
The "Find and Replace" window appears.
3.
In the "Text" field, enter the term you are looking for and in the "Replace
with" field, enter the text you would like to insert automatically during the
search.
4.
Position the cursor in the "Direction" field and choose the search direction
(forward, backward) with the <SELECT> key.
5.
Press the "OK" softkey to start the search.
If the text you are searching for is found, the corresponding line is high-
lighted.
6.
Press the "Replace" softkey to replace the text.
- OR -
Press the "Replace all" softkey to replace all text in the file that corresponds
to the search term.
- OR -
Press the "Continue search" softkey if the text located during the search
should not be replaced.
- OR -
Press the "Cancel" softkey when you want to cancel the search.
Turning
180
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.10 Editing a program
Note
Replacing texts
• Read-only lines (;*RO*)
If hits are found, the texts are not replaced.
• Contour lines (;*GP*)
If hits are found, the texts are replaced as long as the lines are not read-only.
• Hidden lines (;*HD*)
If hidden lines are displayed in the editor and hits are found, the texts are replaced as long as
the lines are not read-only. Hidden lines that are not displayed, are not replaced.
See also
Editor settings (Page 186)
6.10.3
Copying/pasting/deleting a program block
In the editor, you edit both basic G code as well as program steps such as cycles, blocks and
subprogram calls.
Inserting program blocks
The editor responds depending on what type of program block you insert.
• If you insert a G code, then the program block is directly inserted where the write mark is
located.
• If you insert a program step, then the program block is always inserted at the next block,
independent of the position of the write mark within the actual line. This is necessary as a
cycle call always requires its own line.
This behavior is in all applications, irrespective of whether the program step is inserted with
a screen form using "Accept" or "Insert" is used as editor function.
Note
Cutout program step and reinsert
• If you cut out a program step at a specific location and you then directly reinsert it again,
the sequence changes.
• Press the shortcut (key combination) <CTRL> + <Z> to undo what you have cut out.
Precondition
The program is opened in the editor.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
181
Machining the workpiece
6.10 Editing a program
Procedure
1.
Press the "Mark" softkey.
- OR -
Press the <SELECT> key.
2.
Select the desired program blocks with the cursor or mouse.
3.
Press the "Copy" softkey in order to copy the selection to the buffer mem-
ory.
4.
Place the cursor on the desired insertion point in the program and press
the "Paste" softkey.
The content of the buffer memory is pasted.
- OR -
Press the "Cut" softkey to delete the selected program blocks and to copy
them into the buffer memory.
Note: When editing a program, you cannot copy or cut more than 1024
lines. While a program that is not on the NC is opened (progress display
less than 100%), you cannot copy or cut more than 10 lines or insert more
than 1024 characters.
Numbering the program blocks
If you have selected the "Automatic numbering" option for the editor, then
the newly added program blocks are allocated a block number (N num-
ber).
The following rules apply:
• When creating a new program, the first line is allocated the "first block
number".
• If, up until now, the program had no N number, then the program
block inserted is allocated the starting block number defined in the
"First block number" input field.
• If N numbers already exist before and after the insertion point of a new
program block, then the N number before the insertion point is incre-
mented by 1.
• If there are no N numbers before or after the insertion point, then the
maximum N number in the program is increased by the "increment"
defined in the settings.
Note:
After exiting the program, you have the option of renumbering the pro-
gram blocks.
Note
The buffer memory contents are retained even after the editor is closed, enabling you to paste
the contents in another program.
Turning
182
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.10 Editing a program
Note
Copy/cut current line
To copy and cut the current line where the cursor is positioned, it is not necessary to mark or
select it. You have the option of making the "Cut" softkey only operable for marked program
sections via editor settings.
See also
Opening additional programs (Page 185)
Editor settings (Page 186)
Keys of the operator panel (Page 28)
6.10.4
Renumbering a program
You can modify the block numbering of programs opened in the editor at a later point in time.
Precondition
The program is opened in the editor.
Procedure
1.
Press the ">>" softkey.
A new vertical softkey bar appears.
2.
Press the "Renumber" softkey.
The "Renumbering" window appears.
3.
Enter the values for the first block number and the increment to be used
for numbering.
4.
Press the "OK" softkey.
The program is renumbered.
Note
• If you only want to renumber a section, before the function call, select the program blocks
whose block numbering you want to edit.
• When you enter a value of "0" for the increment size, then all of the existing block numbers
are deleted from the program and/or from the selected range.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
183
Machining the workpiece
6.10 Editing a program
6.10.5
Creating a program block
In order to structure programs to achieve a higher degree of transparency, you have the option
of combining several blocks (G code and/or ShopTurn machining steps) to form program
blocks.
Program blocks can be created in two stages. This means you can form additional blocks within
a block (nesting).
You then have the option of opening and closing these blocks depending on your requirement.
Structuring programs
• Before generating the actual program, generate a program frame using empty blocks.
• By forming blocks, structure existing G code or ShopTurn programs.
Procedure
1.
Select the "Program manager" operating area.
2.
Select the storage location and create a program or open a program.
The program editor opens.
3.
Select the required program blocks that you wish to combine to form a
block.
4.
Press the "Build group" softkey.
The "Form New Block" window opens.
5.
Enter a designation for the block and press the "OK" softkey.
Opening and closing blocks
6.
Press the ">>" and "View" softkeys.
7.
Press the "Open all blocks" softkey if you wish to display the program with
all the blocks.
8.
Press the "Close all blocks" softkey, if you wish to display the program
again in a structured form.
Removing a block
9.
Open the block.
10.
Position the cursor at the end of the block.
11.
Press the "Remove block" softkey.
Turning
184
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.10 Editing a program
Note
You can also open and close blocks using the mouse or the cursor keys:
• <Cursor right> opens the block where the cursor is positioned
• <Cursor left> closes the block if the cursor is positioned at the beginning or end of the block
• <ALT> and <Cursor left> closes the block if the cursor is positioned within the block
Note
DEF statements in program blocks or block generation in the DEF part of a part program/cycle
are not permitted.
Additional program block programming functions are supported for multi-channel support.
See also
Creating a program block (Page 700)
6.10.6
Opening additional programs
You have the option of viewing and editing several programs simultaneously in the editor.
For instance, you can copy program blocks or machining steps of a program and paste them into
another program.
Opening several programs
You have the option of opening up to ten program blocks.
1.
In the program manager, select the programs that you wish to open and
view in the multiple editor and then press on the "Open" softkey.
The editor is opened and the first two programs are displayed.
2.
Press the <NEXT WINDOW> key to change to the next opened program.
3.
Press the "Close" softkey to close the actual program.
Note
Pasting program blocks
JobShop machining steps cannot be copied into a G code program.
Precondition
You have opened a program in the editor.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
185
Machining the workpiece
6.10 Editing a program
Procedure
1.
Press the ">>" and "Open additional program" softkeys.
The "Select Additional Program" window is opened.
2.
Select the program or programs that you wish to display in addition to the
already opened program.
3.
Press the "OK" softkey.
The editor opens and displays both programs next to each another.
See also
Copying/pasting/deleting a program block (Page 181)
6.10.7
Editor settings
Enter the default settings in the "Settings" window that are to take effect automatically when the
editor is opened.
Defaults
Setting
Meaning
Number automatically
• Yes: A new block number will automatically be assigned after every line
change. In this case, the specifications provided under "First block number"
and "Increment" are applicable.
• No: No automatic numbering
First block number
Specifies the starting block number of a newly created program.
The field is only visible when "Yes" is selected under "Number automatically".
Increment
Defines the increment used for the block numbers.
The field is only visible when "Yes" is selected under "Number automatically".
Show hidden lines
• Yes: Hidden lines marked with "*HD" (hidden) will be displayed.
• No: Lines marked with ";*HD*" will not be displayed.
Note:
Only visible program lines are taken into account with the "Search" and "Search
and Replace" functions.
Display block end as
The "LF" (line feed) symbol ¶ is displayed at the block end.
symbol
Line break
• Yes: Long lines are broken and wrapped around.
• No: If the program includes long lines, then a horizontal scrollbar is dis-
played. You can move the section of the screen horizontally to the end of
the line.
Turning
186
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.10 Editing a program
Setting
Meaning
Line break also in cycle
• Yes: If the line of a cycle call becomes too long, then it is displayed over
calls
several lines.
• No: The cycle call is truncated.
The field is only visible if "Yes" is entered under "Line break".
Visible programs
•
1 - 10
Select how many programs can be displayed next to one another in the
editor.
• Auto
Specifies that the number of programs entered in a job list or up to ten
selected programs will be displayed next to each other.
Width per program w.
Here, you enter the width of the program that has the input focus in the editor
focus
as a percentage of the window width.
Save automatically
• Yes: The changes are saved automatically when you change to another
operating area.
• No: You are prompted to save when changing to another operating area.
Save or reject the changes with the "Yes" and "No" softkeys.
Note: Only for local and external drives.
Only cut after marking
• Yes: Parts of programs can only be cutout when program lines have been
selected, i.e. the "Cutout" softkey only then is active.
• No: The program line, in which the cursor is positioned, can be cut out
without having to select it.
Determine machining
Defines which program runtimes are determined in the simulation or in auto-
times
matic mode:
• Off
Program runtimes are not determined.
• Block-by-block: The runtimes are determined for each program block.
• Non-modal: The runtimes are determined at the NC block level.
Note: You also have the option of displaying the cumulative times for
blocks.
Please observe the information provided by the machine manufacturer.
After the simulation or after executing the program, the required machining
times are displayed in the editor.
Save machining times
Specifies how the machining times determined are processed.
• Yes
A subdirectory with the name "GEN_DATA.WPD" is created in the directory
of the part program. There, the machining times determined are saved in
an ini file together with the name of the program. The machining times are
displayed again when the program or job list are reloaded.
• No
The machining times that have been determined are only displayed in the
editor.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
187
Machining the workpiece
6.10 Editing a program
Setting
Meaning
Record tools
Defines whether the tool data is recorded.
• Yes
Recording takes place during processing. The data is stored in a TTD file
(Tool Time Data). The TTD file is located in the directory of the associated
part program.
• No
The tool data is not recorded.
Display cycles as ma-
• Yes: The cycle calls in the G code programs are displayed as plain text.
chining step
• No: The cycle calls in the G code programs are displayed in the NC syntax.
Highlight selected G
Defines the display of G code commands.
code commands
• No
All G code commands are displayed in the standard color.
• Yes
Selected G code commands or keywords are highlighted in color. Define
the rules for the color assignment in the sleditorwidget.ini configuration
file.
Note: Please observe the information provided by the machine manufac-
turer.
Note
This setting also has an effect on the current block display.
Font size
Defines the font size for the editor and the display of the program sequence.
• auto
If you open a second program, then the smaller font size is automatically
used.
• normal (16) - character height in pixels
Standard font size that is displayed with the appropriate screen resolution.
• small (14) - character height in pixels
More content is displayed in the editor.
Note
This setting also has an effect on the current block display.
Note
All entries that you make here are effective immediately.
Requirement
You have opened a program in the editor.
Turning
188
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.10 Editing a program
Procedure
1.
Select the "Program" operating area.
2.
Press the "Edit" softkey.
3.
Press the ">>" and "Settings" softkeys.
The "Settings" window opens.
4.
Make the required changes.
5.
Press the "Del. machining times" softkey if you wish to delete the machin-
ing times.
The machining times that have been determined are deleted from the
editor as well as from the actual block display. If the machining times are
saved to an ini file, then this file is also deleted.
6.
Press the "OK" softkey to confirm the settings.
See also
Replacing program text (Page 180)
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
189
Machining the workpiece
6.11 Working with DXF files
6.11
Working with DXF files
6.11.1
Overview
The "DXF-Reader" function can be used to open files created in the SINUMERIK Operate editor
directly in a CAD system as well as contours and drilling positions to be transferred and stored
directly in G code and ShopTurn programs.
The DXF file can be displayed in the Program Manager.
Software option
You require the "DXF-Reader" software option in order to use this function.
Machine manufacturer
Please refer to the machine manufacturer's specifications.
The DFX reader can read the following elements:
• "POINT"
• "LINE"
• "CIRCLE"
• "ARC"
• "TRACE"
• "SOLID"
• "TEXT"
• "SHAPE"
• "BLOCK"
• "ENDBLK"
• "INSERT"
• "ATTDEF"
• "ATTRIB"
• "POLYLINE"
• "VERTEX"
• "SEQEND"
• "3DLINE"
• "3DFACE"
• "DIMENSION"
• "LWPOLYLINE"
• "ELLIPSE"
Turning
190
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.11 Working with DXF files
• "LTYPE"
• "LAYER"
• "STYLE"
• "VIEW"
• "UCS"
• "VPORT"
• "APPID"
• "DIMSTYLE"
• "HEADER ($INSUNITS, $MEASUREMENT)"
• "TABLES"
• "BLOCKS"
• "ENTITIES"
6.11.2
Displaying CAD drawings
6.11.2.1
Open a DXF file
Procedure
1.
Select the "Program Manager" operating area.
2.
Choose the desired storage location and position the cursor on the DFX
file that you want to display.
3.
Press the "Open" softkey.
The selected CAD drawing will be displayed with all its layers, i.e. with all
graphic levels.
4.
Press the "Close" softkey to close the CAD drawing and to return to the
Program Manager.
6.11.2.2
Cleaning a DXF file
All contained layers are shown when a DXF file is opened.
Layers that do not contain any contour- or position-relevant data can be shown or hidden.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
191
Machining the workpiece
6.11 Working with DXF files
Requirement
The DXF file is open in the Program Manager or in the editor.
Procedure
1.
Press the "Clean" and "Layer selection" softkeys if you want to hide spe-
cific layers.
The "Layer Selection" window opens.
2.
Deactivate the required layers and press the "OK" softkey.
- OR -
Press the "Clean automat." softkey to hide all non-relevant layers.
3.
Press the "Clean automat." softkey to redisplay the layers.
6.11.2.3
Enlarging or reducing the CAD drawing
Requirement
The DXF file is opened in the Program Manager.
Procedure
1.
Press the "Details" and "Zoom +" softkeys if you wish to enlarge the size of
the segment.
- OR -
2.
Press the "Details" and "Zoom -" softkeys if you wish to reduce the size of the
segment.
- OR -
Turning
192
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.11 Working with DXF files
3.
Press the "Details" and "Auto zoom" softkeys if you wish to automatically
adapt the segment to the size of the window.
- OR -
4.
Press the "Details" and "Zoom elem. selection" softkeys if you want to au-
tomatically zoom elements that are in a selection set.
6.11.2.4
Changing the section
If you want to move or change the size of a section of the drawing, for example, to view details
or redisplay the complete drawing later, use the magnifying glass.
You can use the magnifying glass to determine the section and then change its size.
Requirement
The DXF file is opened in the Program Manager or in the editor.
Procedure
1. Press the "Details" and "Magnifying glass" softkeys.
A magnifying glass in the shape of a rectangular frame appears.
2. Press the <+> key to enlarge the frame.
- OR -
Press the <-> key to reduce the frame.
- OR -
Press a cursor key to move the frame up, down, left or right.
3. Press the "OK" softkey to accept the section.
6.11.2.5
Rotating the view
You can change the orientation of the drawing.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
193
Machining the workpiece
6.11 Working with DXF files
Requirement
The DXF file is open in the Program Manager or in the editor.
Procedure
1.
Press the "Details" and "Rotate figure" softkeys.
2.
Press the "Arrow right", "Arrow left", "Arrow up", "Arrow down", "Arrow
clockwise" or "Arrow counter-clockwise" softkey to change the position of
the drawing.
6.11.2.6
Displaying/editing information for the geometric data
Precondition
The DXF file is opened in the Program Manager or in the editor.
Procedure
1.
Press the "Details" and "Geometry info" softkeys.
The cursor takes the form of a question mark.
2.
Position the cursor on the element for which you want to display its geo-
metric data and press the "Element Info" softkey.
If, for example, you have selected a straight line, the following window
opens "Straight line on layer: ...". You are shown the coordinates corre-
sponding to the actual zero point in the selected layer: Start point for X
and Y, end point for X and Y as well as the length.
4.
If you are currently in the editor, press the "Element edit" softkey.
The coordinate values can be edited.
3.
Press the "Back" softkey to close the display window.
Turning
194
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.11 Working with DXF files
Note
Editing a geometric element
You can use this function to make smaller changes to the geometry, e.g. for missing
intersections.
You should make larger changes in the input screen of the editor.
You cannot undo any changes that you make with "Element Edit".
6.11.3
Importing and editing a DXF file in the editor
6.11.3.1
General procedure
• Create/open a G code or ShopTurn program
• Call the "Turn contour" cycles and create a "New contour"
- OR -
• Call from "Drill" cycle "Position / position pattern"
• Import the DXF file
• Select the contour or drilling positions in the DXF file or CAD drawing and click "OK" to accept
the cycle
• Add the program block with "Accept" to the G code or ShopTurn program
6.11.3.2
Specifying a reference point
Because the zero point of the DXF file normally differs from the zero point of the CAD drawing,
specify a reference point.
Procedure
1.
The DXF file is opened in the editor.
2.
Press the ">>" and "Specify reference point" softkeys.
3.
Press the "Element start" softkey to place the zero point at the start of the
selected element.
- OR -
Press the "Element center" softkey to place the zero point at the center of
the selected element.
- OR -
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
195
Machining the workpiece
6.11 Working with DXF files
Press the "Element end" softkey to place the zero point at the end of the
selected element.
- OR -
Press the "Arc center" softkey to place the zero point at the center of an arc.
- OR -
Press the "Cursor" softkey to define the zero point at any cursor position.
- OR -
Press the "Free input" softkey to open the "Reference Point Input" window
and enter the values for the positions (X, Y) there.
6.11.3.3
Assigning the machining plane
You can select the machining plane in which the contour created with the DXF reader should be
located.
Procedure
1.
The DXF file is opened in the editor.
2.
Press the "Select plane" softkey.
The "Select Plane" window opens.
3.
Select the desired plane and press the "OK" softkey.
6.11.3.4
Setting the tolerance
To allow even inaccurately created drawings to be used, i.e. to compensate for gaps in the
geometry, you can enter a snap radius in millimeters. This relates elements.
Note
Large snap radius
The larger that the snap radius is set, the larger the number of available following elements.
Turning
196
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.11 Working with DXF files
Procedure
1.
The DXF file is opened in the editor.
2.
Press the "Details" and "Snap radius" softkeys.
The "Input" window appears.
3.
Enter the desired value and press the "OK" softkey.
6.11.3.5
Selecting the machining range / deleting the range and element
You can select ranges in the DXF file and therefore reduce the elements. After accepting the 2nd
position, only the contents of the selected rectangle are displayed. Contours are cut to the
rectangle.
Requirement
The DXF file is open in the editor.
Procedure
Select the machining range from the DXF file
1.
Press the "Reduce" and "Select range" softkeys if you want to select spe-
cific ranges of the DXF file.
An orange rectangle is displayed.
2.
Press the "Range +" softkey to enlarge the section or press the "Range -"
softkey to reduce the section.
3.
Press the "Arrow right", "Arrow left", "Arrow up" or "Arrow down" softkey
to move the selection tool.
4.
Press the "OK" softkey.
The machining section is displayed.
Use the "Cancel" softkey to return to the previous window.
5.
Press the "Deselect range" softkey to undo the selection of the machining
range.
The DXF fie is reset to the original display.
Delete selected ranges and elements of the DXF file
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
197
Machining the workpiece
6.11 Working with DXF files
6.
Press the "Reduce" softkey.
Delete range
7.
Press the "Range delete" softkey.
A blue rectangle is displayed.
8.
Press the "Range +" softkey to enlarge the section or press the "Range -"
softkey to reduce the section.
9.
Press the "Arrow right", "Arrow left", "Arrow up" or "Arrow down" softkey
to move the selection tool.
- OR -
Delete element
10.
Press the "Element delete" softkey, and using the selection tool, select the
element that you wish to delete.
11.
Press "OK".
6.11.3.6
Saving the DXF file
You can save DXF files that you have reduced and edited.
Requirement
The DXF file is open in the editor.
Procedure
1.
Reduce file according to your requirements and/or select the working
areas.
- OR -
2.
Press the "Back" and ">>" softkeys.
3.
Press the "Save DXF" softkey.
Turning
198
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.11 Working with DXF files
4.
Enter the required name in the "Save DXF Data" window and press "OK".
The "Save As" window opens.
5.
Select the required storage location.
6.
If required, press the "New directory" softkey, enter the required name in
the "New Directory" window and press the "OK" softkey to create a direc-
tory.
7.
Press the "OK" softkey.
6.11.3.7
Transferring the drilling positions
Calling the cycles
1.
The part program or ShopTurn program to be edited has been created and
you are in the editor.
2.
Press the "Drilling" softkey.
3.
Press the "Positions" softkey.
4.
Press the "Arbitary positions" softkey.
The "Positions" input window opens.
- OR -
Press the "Line" softkey.
The "Position Row" input window opens.
- OR -
Press the "Grid" softkey.
The "Position Grid" input window opens.
- OR
Press the "Frame" softkey.
The "Position Frame" input window opens.
- OR -
Press the "Circle" softkey.
The "Position Circle" input window opens.
- OR -
Press the "Partial circle" softkey.
The "Position Partial Circle" input window opens.
Selecting the drilling positions
Requirement
You have selected a position pattern.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
199
Machining the workpiece
6.11 Working with DXF files
Procedure
Opening a DXF file
1.
Press the "Import from DXF" softkey.
2.
Position the cursor on the desired DXF file in the storage directory.
You can use the search function to search directly for a DXF file in com-
prehensive folders and directories.
3.
Press the "OK" softkey.
The CAD drawing opens and the cursor takes the form of a cross.
Cleaning a file
4.
Prior to selecting the drilling positions, you can select a layer and clean the
file.
Specifying a reference point
5.
If required, specify a zero point.
Specify clearance(s) (position pattern "Row"/"Arbitrary positions" and "Circle"/"Pitch circle"
6.
Press the "Select element" softkey repeatedly to navigate through the or-
ange selection symbol to the desired drilling position.
7.
Press the "Accept element" softkey to transfer the position.
Repeat steps 6 and 7 to specify other drilling positions for "Arbitrary posi-
tions".
Specify clearance with second clearance (for position pattern "Frame", "Grid")
8.
Once the reference point has been specified, press the "Select element"
softkey repeatedly to navigate to the desired drilling position in order to
specify the clearance.
9.
Press the "Accept element" softkey.
A rectangular cross-hair appears.
10. Press the "Select element" repeatedly to navigate to the desired drilling
position on the displayed line.
To determine the second clearance, drilling positions must be located on
the line.
11. Press the "Accept element" softkey.
A frame or grid is displayed.
Size (position pattern "Row", "Frame", "Grid")
12. Once the reference point and clearances have been specified, press the
"Select element" softkey repeatedly.
All expansions of the frame or the grid are displayed.
13. Press the "Accept element" softkey to confirm the selected frame or grid.
If all elements for the position row or position frame and position grid are
valid, the drilling positions are displayed with blue points.
Circle direction (circle and pitch circle)
Once the reference point and clearance have been specified, press the
"Select element" softkey repeatedly.
The circle is shown in the possible orientations.
Turning
200
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.11 Working with DXF files
Press the "Select element" softkey to confirm the selected circle or pitch
circle.
If all elements of the circle or pitch circle are valid, the drilling positions are
displayed with blue points.
Resetting actions
Undo can be used to reset the last actions.
Transfer drilling positions to the cycle and the program
4.
Press the "OK" softkey in order to accept the position values.
You return to the associated parameter screen form.
Press the "Accept" softkey to transfer the drilling positions to the program.
Operation with mouse and keyboard
In addition to operation using softkeys, you can also operate the functions with the keyboard
and with the mouse.
6.11.3.8
Accepting contours
Calling the cycles
1.
The part program or ShopTurn program to be processed has been created
and you are in the editor.
2.
Press the "Contour turning" softkey.
3.
Press the "New contour" softkey.
Selecting contours
The start and end point are specified for the contour line.
The start point and the direction are selected on a selected element. Beginning at the start point,
the automatic contour line takes all subsequent elements of a contour. The contour line ends as
soon as there are no subsequent elements - or intersections with other elements of the contour
occur.
Note
If a contour includes more elements than can be processed, you will be offered the option of
transferring the contour to the program as pure G code.
This contour then can no longer be edited in the editor.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
201
Machining the workpiece
6.11 Working with DXF files
With the "Undo" softkey, you can undo your contour selection back to a
specific point.
Procedure
Opening a DXF file
1.
Enter the desired name in the "New Contour" window.
2.
Press the "From DXF file" and "Accept" softkeys.
The "Open DXF File" window opens.
3.
Select a storage location and place the cursor on the relevant DXF file.
You can, for example, use the search function to search directly for a DXF
file in comprehensive folders and directories.
4.
Press the "OK" softkey.
The CAD drawing opens and can be edited for contour selection.
The cursor takes the form of a cross.
Specifying a reference point
5.
If required, specify a zero point.
Contour line
6.
Press the ">>" and "Automatic" softkeys if you want to accept the largest
possible number of contour elements.
This makes it fast to accept contours that consist of many individual ele-
ments.
- OR -
Press "Only to 1st cut" if you do not want to accept the complete contour
elements at once.
The contour will be followed to the first cut of the contour element.
Defining the start point
7.
Press the "Select element" softkey to select the desired element.
8.
Press the "Accept element" softkey.
9.
Press the "Element start point" softkey to place the contour start at the start
point of the element.
- OR -
Press the "Element end point" softkey to place the contour start at the end
point of the element.
- OR -
Press the "Element center" softkey to place the contour start at the center of
the element.
- OR -
Turning
202
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.11 Working with DXF files
Press the "Cursor" softkey to define the start of the element with the cursor
at any position.
9.
Press the "OK" softkey to confirm your selection.
10. Press the "Accept element" softkey to accept the offered elements.
The softkey can be operated while elements are still available to be accep-
ted.
Specifying the end point
11. Press the ">>" and "Specify end point" softkeys if you do not want to accept
the end point of the selected element.
12. Press the "Current position" softkey if you want to set the currently selected
position as end point.
- OR -
Press the "Element center" softkey to place the contour end at the center of
the element.
- OR -
Press the "Element end" softkey to place the contour end at the end of the
element.
- OR -
Press the "Cursor" softkey to define the start of the element with the cursor
at any position.
Transferring the contour to the cycle and to the program
Press the "OK" softkey.
The selected contour is transferred to the contour input screen of the editor.
Press the "Accept contour" softkey.
The program block is transferred to the program.
Operation with mouse and keyboard
In addition to operation using softkeys, you can also operate the functions with the keyboard
and with the mouse.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
203
Machining the workpiece
6.12 Importing shapes from CAD programs
6.12
Importing shapes from CAD programs
Using the "Import from CAD" function, you have the option of transferring models, which can be
processed using standard cycles, directly from a 3D model into the part program. This function
is available for milling and drilling in the G code program as well as in the ShopMill and ShopTurn
program.
Software option
You require software option "3D Job Shop" to be able to use this function.
NX server
You must access an NX server to evaluate the CAD data.
You configure access to the NX server in the window "Set up NX server", which you call using
softkey "Set up NX server" in the "Setup" operating area.
3D files
The following CAD file formats are supported:
• Step part and assembly files (*.stp, *.step)
• NX parts and assemblies (*.prt)
Turning
204
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.12 Importing shapes from CAD programs
Screen structure: Overview
The 3D model of the workpiece and the suggested machining steps are displayed in the "Import
from CAD" screen form.
① 3D model
② List of machining steps
③ "Workpiece" machining step
④ "Plane" block
⑤ "Alternatives" block
Every machining step list starts with a "Workpiece" step. This step contains the zero point of the
complete workpiece.
Machining steps that can be used to create the same model are listed in the "Alternatives" block.
On swiveling machines, the models are additionally distributed across planes. A "Swivel plane"
step is inserted for each plane.
The following models are recognized when evaluating the CAD file in the NX server:
• Hole
• Female thread
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
205
Machining the workpiece
6.12 Importing shapes from CAD programs
• Male thread
• Face milling
• Rectangular pocket
• Circular pocket
• Rectangular spigot
• Circular spigot
• Longitudinal groove
• Circumferential groove
• Contour pocket
6.12.1
Reading in CAD data into an editor and processing
6.12.1.1
General procedure
Proceed as follows to accept data from a CAD file into a G code program or a ShopMill/ShopTurn
program using function "Import from CAD":
• Create and open a program
• Define a blank
• Import a 3D file
• Define the workpiece zero
• Define a zero point plane (only for swiveling machines)
• Select a machining step from the alternatives, add any missing parameters and insert into the
program using "Apply".
• To accept additional machining steps, reopen the list of machining steps
• Make supplements/additions to the program (e.g. tool change, positioning blocks)
6.12.1.2
Import from CAD
To import models, select a CAD file.
In the machining steps, the selected file is uploaded to the NX server and analyzed. The results
are converted into potential machining steps in SINUMERIK Operate, and displayed in the list of
machining steps.
Requirement
• The connection to the NX server has been set up.
• The CAD file can be accessed via the Program Manager.
• A G code or ShopMill/ShopTurn program has been created, and opened in the program editor.
Turning
206
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.12 Importing shapes from CAD programs
Procedure
1.
Press the "Various" and "Import from CAD" softkeys.
Window "Import from CAD" opens.
2.
Navigate to the archive location, and position the cursor on the CAD file
required.
3.
Click "OK" to confirm the selection.
The list of machining steps opens.
The 3D model is displayed in the left-hand part of the window.
The recognized models as well as alternative machining steps are listed in
the right-hand part.
6.12.1.3
Defining reference points
Overview of zero points
You have the option of defining reference points so that the positions of the models are correctly
calculated in the coordinate system. You save the workpiece zero in the "Workpiece" machining
step. If swiveling is set up at your machine, you have the option of defining a dedicated zero point
for each plane.
Position of the zero point
You have the option of defining the zero point using elements of the 3D model:
• Unchanged (for workpiece zero point)
The selection "unchanged" takes the workpiece zero point from the 3D model.
• The same as the workpiece (for plane zero point)
With selection "the same as the workpiece", the zero point of the plane remains unchanged,
i.e. as defined in the workpiece.
This selection is suitable for machining operations performed at the base plane.
• Point of intersection, 3 surfaces
• Point of intersection, 2 edges
• Based on the model
The zero point is defined at the center point of the selected model.
You define the coordinates of the selected point by entering parameters X0, Y0 and Z0.
Alignment of the coordinate system
The Z axis is aligned vertically with respect to a freely selectable surface. The direction of the X
axis is defined using an edge. The direction of the X axis can be adapted using parameter "Offset
X". For instance, the direction of the X axis can be inverted by applying an offset of 180°.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
207
Machining the workpiece
6.12 Importing shapes from CAD programs
Defining the workpiece zero
You have the option of defining a new reference point if the zero point from the 3D model
deviates from the workpiece zero.
Procedure
1.
The "Workpiece" machining step is selected.
2.
Press the "Workpiece zero point" softkey.
The "Workpiece zero" window opens.
3.
Select how the zero point is defined.
4.
Select the required references in field "Selection".
- OR -
Select the required references in the 3D model.
The selected elements are highlighted in the 3D model and displayed in
field "Selection".
5.
To align the coordinate origin, select parameter "Direction Z", "Direction X"
and "Offset X".
6.
Confirm your selection with "Accept".
Defining the zero point of the plane
For each machining plane, you can define your own reference point.
Procedure
1.
The "Swivel plane" machining step is selected.
2.
Press softkey "Work offset plane".
The "Work offset plane" window opens.
3.
Select how the point of rotation for swiveling is defined.
4.
In the "Select" fields, select the required surfaces or edges.
- OR -
Select the required references in the 3D model.
The selected elements are highlighted in the 3D model and displayed in
field "Selection".
5.
If the point of rotation cannot be directly selected, enter an additional
offset of the coordinates in parameters XD, YD and ZD.
6.
Select how the zero point of the plane is defined, and select the required
references.
7.
To align the coordinate origin, select parameter "Direction X" and "Offset
X".
The alignment of the Z axis is defined by the current plane.
8.
Confirm your selection with "Accept".
Turning
208
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.12 Importing shapes from CAD programs
6.12.1.4
Accepting the machining steps
To accept the suggested data in the program, select the appropriate machining step in the list
of machining steps, and if necessary, add additional parameters. The machining step is written
to the program and the list of machining steps is closed.
Requirement
The list of machining steps is open.
Procedure
1.
In the 3D model, select the required element, using either touch or mouse.
The element is highlighted in the 3D model. The cursor jumps to the
associated machining step in the list.
- OR -
Using the cursor keys, navigate in the list to the required machining step.
The element is highlighted in color in the 3D model.
2.
If several, alternative machining steps exist for the selected element, then
these steps are listed in the "Alternatives" block.
In this case, select the required technological function.
3.
Press the "Accept" softkey.
The parameter screen form of the selected function opens. The values that
came from the CAD data are accepted. All other parameters are preas-
signed with default values.
4.
Check the parameters, and if necessary, change the default values.
5.
Confirm the data with "OK".
The program view opens. The newly created machining step is marked.
6.
If you wish to accept additional machining steps, then press the "Import
from CAD" softkey.
The list of machining steps opens again.
Note
Swivel after tool change
If swiveling is set-up at your machine, then step "Swivel plane" must be inserted after each tool
change.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
209
Machining the workpiece
6.13 Display and edit user variables
6.13
Display and edit user variables
6.13.1
Overview
The defined user data may be displayed in lists.
User variables
The following variables can be defined:
• Global arithmetic parameters (RG)
• Channel-specific arithmetic parameters (R parameters)
• Global user data (GUD) is valid in all programs
• Local user variables (LUD) are valid in the program where they have been defined.
• Program-global user variables (PUD) are valid in the program in which they have been
defined, as well as in all of the subprograms called by this program
Channel-specific user data can be defined with a different value for each channel.
Entering and displaying parameter values
Up to 15 positions (including decimal places) are evaluated. If you enter a number with more
than 15 places, it will be written in exponential notation (15 places + EXXX).
LUD or PUD
Only local or program-global user data can be displayed at one time.
Whether the user data are available as LUD or PUD depends on the current control configuration.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
Note
Reading and writing variables protected
Reading and writing of user data are protected via a keyswitch and protection levels.
Comments
You have the option of entering a comment for global and channel-specific arithmetic
parameters.
Searching for user data
You may search for user data within the lists using any character string.
Turning
210
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.13 Display and edit user variables
Further information
Additional information on the user variables is provided in the Programming Manual NC
Programming.
6.13.2
Global R parameters
Global R parameters are arithmetic parameters, which exist in the control itself, and can be read
or written to by all channels.
You use global R parameters to exchange information between channels, or if global settings are
to be evaluated for all channels.
These values are retained after the controller is switched off.
Comments
You can save comments in the "Global R parameters with comments" window.
These comments can be edited. You have the option of either individually deleting these
comments, or using the delete function.
These comments are retained after the control is switched off.
Number of global R parameters
The number of global R parameters is defined in a machine data element.
Range: RG[0]- RG[999] (dependent on the machine data).
There are no gaps in the numbering within the range.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
Procedure
1.
Select the "Parameter" operating area.
2.
Press the "User variable" softkey.
3.
Press the "Global R parameters" softkey.
The "Global R parameters" window opens.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
211
Machining the workpiece
6.13 Display and edit user variables
Display comments
1.
Press the ">>" and "Display comments" softkeys.
The "Global R parameters with comments " window opens.
2.
Press the "Display comments" softkey once again to return to the "Global
R parameters" window.
Deleting R parameters and comments
1.
Press the ">>" and "Delete" softkeys.
The "Delete global R parameters" window opens.
2.
In fields "from global R parameters" and "to global R parameters", select the
global R parameters whose values you wish to delete.
- OR -
Press the "Delete all" softkey.
3.
Activate the checkbox "also delete comments" if the associated comments
should also be automatically deleted.
4.
Press the "OK" softkey.
• A value of 0 is assigned to the selected global R parameters - or to all
global R parameters.
• The selected comments are also deleted.
6.13.3
R parameters
R parameters (arithmetic parameters) are channel-specific variables that you can use within a G
code program. G code programs can read and write R parameters.
These values are retained after the controller is switched off.
Comments
You can save comments in the "R parameters with comments" window.
These comments can be edited. You have the option of either individually deleting these
comments, or using the delete function.
These comments are retained after the control is switched off.
Number of channel-specific R parameters
The number of channel-specific R parameters is defined in a machine data element.
Range: R0-R999 (dependent on machine data).
Turning
212
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.13 Display and edit user variables
There are no gaps in the numbering within the range.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
Procedure
1.
Select the "Parameter" operating area.
2.
Press the "User variable" softkey.
3.
Press the "R variables" softkey.
The "R parameters" window appears.
Display comments
1.
Press the ">>" and "Display comments" softkeys.
The "R parameters with comments " window opens.
2.
Press the "Display comments" softkey once again to return to the "R pa-
rameters" window.
Delete R variables
1.
Press the ">>" and "Delete" softkeys.
The "Delete R parameters" window appears.
2.
In fields "from R parameters" and "to R parameters", select the R parame-
ters whose values you wish to delete.
- OR -
Press the "Delete all" softkey.
3.
Activate the checkbox "also delete comments" if the associated comments
should also be automatically deleted.
4.
Press the "OK" softkey.
• A value of 0 is assigned to the selected R parameters or to all R param-
eters.
• The selected comments are also deleted.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
213
Machining the workpiece
6.13 Display and edit user variables
6.13.4
Displaying global user data (GUD)
Global user variables
Global GUDs are NC global user data (Global User Data) that remains available after switching
the machine off.
GUDs apply in all programs.
Definition
A GUD variable is defined with the following:
• Keyword DEF
• Range of validity NCK
• Data type (INT, REAL, ….)
• Variable names
• Value assignment (optional)
Example
DEF NCK INT ZAEHLER1 = 10
GUDs are defined in files with the ending DEF. The following file names are reserved for this
purpose:
File name
Meaning
MGUD.DEF
Definitions for global machine manufacturer data
UGUD.DEF
Definitions for global user data
GUD4.DEF
User-definable data
GUD8.DEF, GUD9.DEF
User-definable data
Procedure
1.
Select the "Parameter" operating area.
2.
Press the "User variable" softkey.
3.
Press the "Global GUD" softkeys.
The "Global User Variables" window is displayed. A list of the defined
UGUD variables will be displayed.
- OR -
Turning
214
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.13 Display and edit user variables
Press the "GUD selection" softkey and the "SGUD" to "GUD6" softkeys if you
wish to display SGUD, MGUD, UGUD as well as GUD4 to GUD 6 of the
global user variables.
- OR -
Press the "GUD selection" and ">>" softkeys as well as the "GUD7" to
"GUD9" softkeys if you want to display GUD 7 to GUD 9 of the global user
variables.
Note
After each start-up, a list with the defined UGUD variables is displayed in the "Global User
Variables" window.
6.13.5
Displaying channel GUDs
Channel-specific user variables
Like the GUDs, channel-specific user variables are applicable in all programs for each channel.
However, unlike GUDs, they have specific values.
Definition
A channel-specific GUD variable is defined with the following:
• Keyword DEF
• Range of validity CHAN
• Data type
• Variable names
• Value assignment (optional)
Example
DEF CHAN REAL X_POS = 100.5
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
215
Machining the workpiece
6.13 Display and edit user variables
Procedure
1.
Select the "Parameter" operating area.
2.
Press the "User variable" softkey.
3.
Press the "Channel GUD" and "GUD selection" softkeys.
A new vertical softkey bar appears.
4.
Press the "SGUD" ... "GUD6" softkeys if you want to display the SGUD,
MGUD, UGUD as well as GUD4 to GUD 6 of the channel-specific user
variables.
- OR -
Press the "Continue" softkey and the "GUD7" ... "GUD9" softkeys if you
want to display GUD 7 and GUD 9 of the channel-specific user variables.
6.13.6
Displaying local user data (LUD)
Local user variables
LUDs are only valid in the program or subprogram in which they were defined.
The controller displays the LUDs after the start of program processing. The display is available
until the end of program processing.
Definition
A local user variable is defined with the following:
• Keyword DEF
• Data type
• Variable names
• Value assignment (optional)
Turning
216
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.13 Display and edit user variables
Procedure
1.
Select the "Parameter" operating area.
2.
Press the "User variable" softkey.
3.
Press the "Local LUD" softkey.
6.13.7
Displaying program user data (PUD)
Program-global user variables
PUDs are global part program variables (Program User Data). PUDs are valid in all main programs
and subprograms, where they can also be written and read.
Machine manufacturer
Please refer to the machine manufacturer's specifications.
Procedure
1.
Select the "Parameter" operating area.
2.
Press the "User variable" softkey.
3.
Press the "Program PUD" softkey.
6.13.8
Searching for user variables
You can search for R parameters and user variables.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
217
Machining the workpiece
6.13 Display and edit user variables
Procedure
1.
Select the "Parameter" operating area.
2.
Press the "User variable" softkey.
3.
Press the "R parameters", "Global GUD", "Channel GUD", "Local GUD" or
"Program PUD" softkeys to select the list in which you would like to search
for user variables.
4.
Press the "Search" softkey.
The "Search for R Parameters" or "Search for User Variables" window
opens.
5.
Enter the desired search term and press "OK".
The cursor is automatically positioned on the R parameters or user varia-
bles you are searching for, if they exist.
By editing a DEF/MAC file, you can alter or delete existing definition/macro files or add new ones.
Procedure
1.
Select the "Start-up" operating area.
2.
Press the "System data" softkey.
3.
In the data tree, select the "NC data" folder and then open the "Defini-
tions" folder.
4.
Select the file you want to edit.
5.
Double-click the file.
- OR -
Press the "Open" softkey.
- OR -
Press the <INPUT> key.
- OR -
Press the <Cursor right> key.
The selected file is opened in the editor and can be edited there.
Turning
218
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.13 Display and edit user variables
6.
Define the desired user variable.
7.
Press the "Exit" softkey to close the editor.
Activating user variables
1.
Press the "Activate" softkey.
A prompt is displayed.
2.
Select whether the current values in the definition files should be retained
- OR -
Select whether the current values in the definition files should be deleted.
This will overwrite the definition files with the initial values.
3.
Press the "OK" softkey to continue the process.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
219
Machining the workpiece
6.14 Displaying G functions and auxiliary functions
6.14
Displaying G functions and auxiliary functions
6.14.1
Selected G functions
16 selected G groups are displayed in the "G Function" window.
Within a G group, the G function currently active in the controller is displayed.
Some G codes (e.g. G17, G18, G19) are immediately active after switching the machine control
on.
Which G codes are always active depends on the settings.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
G groups displayed by default
Group
Meaning
G group 1
Modally active motion commands (e.g. G0, G1, G2, G3)
G group 2
Non-modally active motion commands, dwell time (e.g. G4, G74, G75)
G group 3
Programmable offsets, working area limitations and pole programming (e.g.
TRANS, ROT, G25, G110)
G group 6
Plane selection (e.g. G17, G18)
G group 7
Tool radius compensation (e.g. G40, G42)
G group 8
Settable work offset (e.g. G54, G57, G500)
G group 9
Offset suppression (e.g. SUPA, G53)
G group 10
Exact stop - continuous-path mode (e.g. G60, G641)
G group 13
Workpiece dimensions, inch/metric (e.g. G70, G700)
G group 14
Workpiece dimensioning absolute/incremental (G90)
G group 15
Feed type (e.g. G93, G961, G972)
G group 16
Feedrate override at inside and outside curvature (e.g. CFC)
G group 21
Acceleration profile (e.g. SOFT, DRIVE)
G group 22
Tool offset types (e.g. CUT2D, CUT2DF)
G group 29
Radius/diameter programming (e.g. DIAMOF, DIAMCYCOF)
G group 30
Compressor on/off (e.g. COMPOF)
G groups displayed by default (ISO code)
Group
Meaning
G group 1
Modally active motion commands (e.g. G0, G1, G2, G3)
G group 2
Non-modally active motion commands, dwell time (e.g. G4, G74, G75)
G group 3
Programmable offsets, working area limitations and pole programming (e.g.
TRANS, ROT, G25, G110)
G group 6
Plane selection (e.g. G17, G18)
Turning
220
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.14 Displaying G functions and auxiliary functions
Group
Meaning
G group 7
Tool radius compensation (e.g. G40, G42)
G group 8
Settable work offset (e.g. G54, G57, G500)
G group 9
Offset suppression (e.g. SUPA, G53)
G group 10
Exact stop - continuous-path mode (e.g. G60, G641)
G group 13
Workpiece dimensions, inch/metric (e.g. G70, G700)
G group 14
Workpiece dimensioning absolute/incremental (G90)
G group 15
Feed type (e.g. G93, G961, G972)
G group 16
Feedrate override at inside and outside curvature (e.g. CFC)
G group 21
Acceleration profile (e.g. SOFT, DRIVE)
G group 22
Tool offset types (e.g. CUT2D, CUT2DF)
G group 29
Radius/diameter programming (e.g. DIAMOF, DIAMCYCOF)
G group 30
Compressor on/off (e.g. COMPOF)
Procedure
1.
Select the "Machine" operating area.
2.
Press the <JOG>, <MDI> or <AUTO> key.
3.
Press the "G functions" softkey.
The "G Functions" window is opened.
4.
Press the "G functions" softkey again to hide the window.
The G groups selection displayed in the "G Functions" window may differ.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
Further information
Additional information on configuring the displayed G groups is provided in the SINUMERIK
Operate Commissioning Manual.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
221
Machining the workpiece
6.14 Displaying G functions and auxiliary functions
6.14.2
All G functions
All G groups and their group numbers are listed in the "G Functions" window.
Within a G group, only the G function currently active in the controller is displayed.
Additional information in the footer
The following additional information is displayed in the footer:
• Actual transformations
Display
Meaning
TRANSMIT
Polar transformation active
TRACYL
Cylinder surface transformation active
TRAORI
Orientation transformation active
TRAANG
Inclined axis transformation active
TRACON
Cascaded transformation active
For TRACON, two transformations (TRAANG and TRACYL or TRAANG and TRANS-
MIT) are activated in succession.
• Current work offsets
• Spindle speed
• Path feedrate
• Active tool
6.14.3
G functions for mold making
In the window "G functions", important information for machining free-form surfaces can be
displayed using the "High Speed Settings" function (CYCLE832).
Software option
You require the "Advanced Surface" software option in order to use this function.
High-speed cutting information
In addition to the information that is provided in the "All G functions" window, the following
programmed values of the following specific information is also displayed:
• CTOL
• OTOL
• CTOLG0
• OTOLG0
The tolerances for G0 are only displayed if they are active.
Particularly important G groups are highlighted.
You have the option to configure which G functions are highlighted.
Turning
222
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
Machining the workpiece
6.14 Displaying G functions and auxiliary functions
Further information
Additional information on the contour / orientation tolerance is provided in the Basic Functions
Function Manual.
Procedure
1.
Select the "Machine" operating area
2.
Press the <JOG>, <MDI> or <AUTO> key.
3.
Press the ">>" and "All G functions" softkeys.
The "G Functions" window is opened.
See also
High-speed settings (CYCLE832) (Page 630)
6.14.4
Auxiliary functions
Auxiliary functions include M and H functions preprogrammed by the machine manufacturer,
which transfer parameters to the PLC to trigger reactions defined by the manufacturer.
Displayed auxiliary functions
Up to five current M functions and three H functions are displayed in the "Auxiliary Functions"
window.
Turning
Operating Manual, 10/2020, 6FC5398-8CP40-6BA3
223
|