SINUMERIK 840D sl. User - Programming. Manual (2020) - page 9

 

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

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     7      8      9      10     ..

 

 

 

SINUMERIK 840D sl. User - Programming. Manual (2020) - page 9

 

 

Glossary
Backlash compensation
Compensation of the mechanical backlash of the machine, e.g. the backlash compensation of
the spindles. The backlash compensation can be input separately for each axis.
Backup
A copy of the memory contents (hard disk) stored on an external device for the purpose of data
backup/archiving.
Base axis
Axis whose setpoint value or actual value is used in the calculation of the offset value.
Basic coordinate system
Cartesian coordinate system which is mapped through a transformation onto the machine
coordinate system.
The programmer works in the -> part program with the axis names of the basic coordinate
systems. The basic coordinate system exists in parallel to the -> machine coordinate system if no
-> transformation is active. The difference between the two systems lies only in the axis
identifiers.
Baud rate
The speed at which the data transfer takes place (bits/s).
Block search
The block search function can be used to go to any convenient point in a part program at which
the machining is to start or continue. This function is intended for testing the part programs or
for continuing the machining after an interruption.
Booting
Loading the system program after power on.
C axis
An axis which the tool uses to describe a controlled rotary or positioning movement.
C spline
The C spline is the most well-known and widely used spline. The spline runs along a tangent and
along the axis of curvature through all interpolation points. 3rd order polynomials are used for
this.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
201
Glossary
Channel structure
The -> programs of the individual channels can be processed simultaneously or asynchronously
with the channel structure.
Circular interpolation
In circular interpolation, the -> tool traverses between defined contour points at a definite
feedrate during the machining of the workpiece on a circular path.
Clearance control (3D), sensor-driven
The positional shift for a certain axis can be controlled as a function of a measured process
variable (e.g. analog input, spindle current...). This function can be used to maintain a fixed
distance automatically so as to fulfill certain technological requirements of the relevant
machining.
CNC programming language
The CNC programming language is based on DIN 66025 with high-level language extensions.
The CNC programming language and the high-level language extensions support the definition
of macros (sequenced statements).
COM
Part of the numerical control system for the implementation and coordination of
communication.
Command axis
Command axes are started from synchronized actions as a reaction to an event (command).
Command axes can be positioned, started and stopped fully asynchronous to the part program.
Compensation axis
Axis with a setpoint or actual value modified by a compensation value.
Compensation memory
Data storage area in the control system, in which the tool offset data is stored.
Compensation table
Table of interpolation points. It delivers the offset values of the offset axis for the selected
positions of the basic axis.
ISO Milling
202
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Glossary
Connecting cables
Connecting cables are either pre-assembled cables or cables that are pre-assembled, ready-to-
use two-wire cables that have a connector at both ends. Connecting cables are used to connect
the -> CPU to a -> programming device or another CPU with use of an -> "interface".
Continuous-path mode
The purpose of the continuous-path mode is to avoid an excessive acceleration of the -> path
axes at the block limits of part programs, which may affect the operator, the machine or other
assets of the plant. The continuous-path mode is expected to influence the transition to the next
block in the NC program and to maintain the path velocity as uniformly as possible.
Contour
Contours of a workpiece.
Contour monitoring
The following error is monitored as a measure for contour precision within a defined tolerance
range. Thus, for instance, an overloading of the drive can lead to a sequential fault, which is no
longer acceptable. An alarm is output and the axes are stopped in this case.
Correction value
The distance between the axis position and the desired programmed axis position measured
with a position encoder.
CPU
Central Processor Unit -> programmable logic controller
Cycle
Protected subprogram for executing machining operations which are always repeated at the ->
workpiece.
Cycle support
The available cycles are listed in the "Cycle support" menu in the "Program" operating area. The
required parameters for the assignment of the values are displayed in plain text after the desired
execution cycle has been selected.
Data block
• The unit of data used in the -> PLC which can be accessed via -> HIGHSTEP program.
• Unit of data in the -> NC: Data blocks that contain data definitions for global user data. This
data can be initialized directly during its definition.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
203
Glossary
Data word
Data unit inside a -> PLC data block having a size of 2 bytes
Deletion of distance-to-go
Command in a part program with which the machining is stopped and the distance-to-go is
deleted.
Diagnostics
• Operating area of the control.
• The control system contains a self-diagnostics program and test routines for service: Status,
alarm and service displays.
DRF
Differential Resolver Function. This is a function of an NC in which an incremental work offset is
created in the automatic mode in conjunction with the electronic handwheel.
Dynamic feedforward control
The "Dynamic acceleration-dependent feedforward control" function can be used to fully
overcome the contour inaccuracies that result from secondary faults. The feedforward control
function enables an extremely high degree of machining accuracy at high tool path velocities.
The feedforward control function allows selection or deselection of all axes with just one part
program.
Editor
The editor is used to create, change, add, connect and insert programs/texts/blocks of a program.
Electronic handwheel
The selected axes can be operated simultaneously in manual mode with an electronic
handwheel. The handwheel clicks are evaluated by the increment analyzer.
Exact stop
If exact stop is programmed, the position specified in the block is approached accurately and -
if necessary - very slowly. To reduce the startup speeds, -> exact stop limits are defined for rapid
traverse and feedrate.
Exact stop limit
After all the path axes reach their exact stop limits, the control system reacts as if they have
reached the end point exactly. The -> part program continues with the machining from the next
block.
ISO Milling
204
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Glossary
External work offset
Work offset specified by the -> PLC.
Fast retraction from contour
When an interrupt occurs, a motion can be initiated via the CNC machining program, enabling
the tool to be quickly retracted from the workpiece contour that is currently being machined. The
retraction angle and the retraction path can also be parameterized. An interrupt routine can be
carried out after a rapid retraction.
Feedrate override
In feedrate override, the current feedrate entered in the operator panel or specified by the PLC
is overlaid on the programmed feedrate (0 - 200%). A feedrate override is also possible by means
of a programmable percentage value (1 - 200%) in the machining program.
A feedrate correction can also be applied by synchronous actions regardless of the program
currently running.
Fixed machine point
Point that is defined uniquely by the machine tool, e.g. the reference point.
Fixed-point approach
The machine tool can be used to approach defined fixed points such as tool change points,
loading points, palette change points etc. The coordinates of these points are stored in the
control system. If possible, the control system approaches these axes at -> rapid traverse.
Frame
A frame is an arithmetic rule, with which one Cartesian coordinate system is converted to
another Cartesian coordinate system. A frame consists of the components -> work offset ->
rotation -> scaling and -> mirroring.
Geometry
Description of a -> workpiece in the -> workpiece coordinate system.
Geometry axis
Geometry axes are used to describe a 2- or 3-dimensional range in the workpiece coordinate
system.
Global main program / subprogram
Each global main program / subprogram can be stored only once under its name in the directory.
However, the same name can be used several times in one and the same directory.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
205
Glossary
Ground
The term "Ground" is used for all electrically inactive, interconnected parts of one part of the
system or a resource which cannot result in dangerous touch voltage in the event of errors.
Helical interpolation
The "Helical interpolation" function is especially suitable for machining female or male threads
with form cutters and for milling lubricating grooves. The helix comprises two movements:
Circular movement in the plane
Linear movement vertical to this plane
High-speed digital inputs/outputs
Example: High-speed CNC program routines (interrupt routines) that can be started via digital
inputs. Digital CNC outputs (SINUMERIK 840D sl) can be used to trigger switching functions
operated by high-speed programs.
HIGHSTEP
Combination of different programming features for the -> PLC in the range S7-300/400.
I/O module
I/O modules are used to establish a connection between the CPU and the process. I/O modules
are:
Digital input and output modules
Analog input and output modules
Simulator modules
Identifiers
According to DIN 66025, identifiers (names) of variables (arithmetic variables, system variables,
user variables), of subprograms, of vocabulary words and of words can contain several address
characters. These characters have the same meaning as the words in the block syntax.
Identifiers must always be unique. Different identifiers should always be used for different
objects.
Inch measuring system
Measuring system with which the distance traversed and fractions thereof are specified in
inches.
Inclined axis
Fixed angular interpolation with allowance for an inclined infeed axis or grinding wheel by
specifying the angle. The inclined axes are programmed and displayed in the Cartesian
coordinate system.
ISO Milling
206
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Glossary
Inclined surface machining
The "Inclined surface machining" function supports drilling and milling operations on workpiece
surfaces that are inclined with reference to the coordinate planes of the machine. The position
of the inclined surface can be defined via the oblique position of the coordinate system (refer to
FRAME programming).
Increment
The end point for the traversing of axes is defined by the distance to be covered and a direction
that refers to a point already reached. See also -> Absolute dimension.
Specification of the length of the travel path in increments. The number of increments can be
stored either in the -> setting data or it can be selected with the keys 10, 100, 1000 and 10 000.
Initialization block
Initialization blocks are special -> program blocks. These contain values that must be assigned
before executing the program. Initialization blocks are the preferred choice for initializing
previously defined data or global user data.
Initialization files
An initialization file can be created for each -> workpiece. Different instructions for variable
values that are valid exclusively for a workpiece, can be stored in the initialization file.
Intermediate blocks
Movements with a selected tool offset (G41/G42) can be interrupted by a limited number of
intermediate blocks (blocks without traversing movements at the compensation plane). The
tool offset can be calculated correctly while using intermediate blocks. The number of
intermediate blocks that can be read in advance by the control system can be set in the system
parameters.
Interpolation cycle
The interpolation cycle is a multiple of the basic system cycle. The interpolation cycle is used to
specify the cycle time that is required to update the setpoint interface with the position controls.
The resolution of the velocity profiles is determined with the interpolation cycle.
Interpolator
Logical unit of the -> NCK which can be used to determine the intermediate values for the
movements of the individual axes to be executed on the basis of the target positions specified
in the part program.
Interpolatory compensation
Interpolatory compensation is a means of compensating the leadscrew error (SSFK) and
measuring system error (MSF) that result from the production process.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
207
Glossary
Interrupt routine
Interrupt routines are special -> subprograms which can be started by events (external signals)
in the machining process. Here, the block of the part program just processed is interrupted and
the axis position at the interruption point is stored automatically. See -> ASUP
Interrupts
All -> messages and alarms are displayed in plain text on the operator panel. The alarm text
contains the date, time and a suitable symbol for the cancel criterion.
Alarms and messages are displayed separately according to the following criteria:
•
1. Alarms and messages in the part program
Alarms and messages can be displayed directly from the program as plain text.
•
2. PLC alarms and messages that involve the machine can be displayed directly from the PLC
in plain text format. No additional function blocks are required for this.
Inverse-time feedrate
In the SINUMERIK 840D sl controls, the speed of the axis motion can be specified (G93) instead
of the feedrate for traversing the distance stored in a block.
JOG
Operating mode of the CNC (in the setup operation): The machine can be setup in the JOG mode.
The individual axes and spindles can be traversed in steps (in the JOG mode) with direction keys.
Other functions offered by the JOG mode are -> Reference point approach, -> REPOS (reposition)
-> Preset -> (actual value specification).
Keyswitch
S7-300: In the S7-300, the key-operated switch is the mode selector switch in the -> CPU. The
key-operated switch is operated with a removable key.
840D sl: The key-operated switch on the -> machine control panel has four positions to which
the operating system of the control system has assigned appropriate functions. Each key-
operated switch has three differently colored keys which can be removed in the specified
positions.
Languages
The texts of the user interface, system messages and alarms are available in five system
languages: English, German, French, Italian and Spanish. The user can always select two of the
languages listed in the control system.
Leadscrew error compensation
Compensation for the mechanical inaccuracies of a spindle involved in the feed movement.
Errors are compensated by the control system on the basis of the measured deviations that are
stored in the control system.
ISO Milling
208
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Glossary
Linear axis
In contrast to a rotary axis, a linear axis describes a straight line.
Linear interpolation
In the linear interpolation, the tool moves along a straight line to the end point during machining
of the workpiece.
LookAhead
The "LookAhead" function is a means of optimizing the machining speed through looking ahead
using a parameterizable number of traversing blocks.
LookAhead for contour violations
The control system recognizes and reports the following types of collision:
The travel path is shorter than the tool radius.
The width of the internal corner is smaller than the tool diameter.
Machine control panel
A control panel in the machine tool having operator controls such as keys, rotary switches, etc.,
as well as simple displays such as LEDs. The machine control panel is used for direct control of
the machine tool via the PLC.
Machine coordinate system
Coordinate system based on the axes of the machine tool.
Machine zero
A fixed point on the machine tool to which all measuring systems (derived from it) refer.
Machining channel
The channel structure can be used to reduce downtime by executing motional sequences
simultaneously. Thus, for instance, the gantry of a loader can execute its movements during the
machining. In this case, the CNC functions as an autonomous control system which performs
operations like decoding, block preparation and interpolation independently.
Macros
Several instructions in different programming languages can be combined with each other in
one instruction. This abbreviated sequence of instructions is called in the CNC program under a
user-defined name. The instructions are executed one after the other with the macro.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
209
Glossary
Main block
A block that is preceded by ":" and that contains all parameters required to start the processing
of a -> part program.
Main program
A -> part program that is denoted by a number or a name in which other main programs,
subprograms or -> cycles can be called.
Main run
Part program blocks that have been decoded and prepared via block preparation, are processed
in the "main run".
MDA
Control operating mode: Manual Data Automatic = manual date input in automatic mode.
Individual program blocks or block sequences with no reference to a main program or
subprogram can be input in MDA mode; these are processed immediately on actuating the NC
start key.
Memory reset
The following -> CPU memories are erased by a memory reset operation:
•
-> Work memory
• Read/write area of the -> load memory
•
-> System memory
•
-> Backup memory
Metric or inch dimensions
Position and thread lead values can be programmed in the machining program in inches. The
control is always set to the basic system independently of the programmed unit of measurement
(G70/G71).
Metric units system
Standardized system of length units in millimeters, meters, etc.
Mirroring
Mirroring changes the sign of the coordinate value of a contour with reference to an axis.
Mirroring can be executed simultaneously for several axes.
ISO Milling
210
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Glossary
Mode group
All axes/spindles are assigned at a randomly specified time to a single channel. Each channel is
assigned to a mode group (BAG). The same -> mode is always assigned to the channels in a mode
group.
Motion synchronization
This function can be used to trigger actions that run simultaneously (synchronously) with the
machining. The starting point of the actions is defined by a condition (e.g. the status of a PLC
input, the time that has elapsed since the start of a block). The start of motion-synchronized
actions is not linked to block limits. Examples for typical motion-synchronized actions include:
Transfer of M- and H-(auxiliary) functions at the PLC or distance-to-go delete for certain axes.
NC
"Numerical Control" = numerical control system; contains all components of the control system
of the machine tool: -> NCK, -> PLC, -> HMI, -> COM.
NCK
Numerical Control Kernel: Component of the NC control system, which executes -> part
programs and essentially coordinates the movements at the machine tool.
Net, Network
A net or network is the connection of several S7-300 and other automation or HMI devices such
as programming devices via -> connecting cables. The interconnected devices exchange data
across the network.
NURBS
Motion control and path interpolation are executed in the control system internally on the basis
of NURBS (non-uniform rational B splines). Thus, there is a standard procedure (SINUMERIK
840D sl) for all operating modes as an internal control function.
OEM
The scope of the implementation of individual solutions (OEM applications) for the SINUMERIK
840D sl was developed for machine manufacturers, who want to create their own user
interfaces or who want to integrate process-oriented functions in the control system.
Online tool offset
This function can be used for grinding tools only.
The reduction in the size of the grinding wheel through dressing is transferred to the relevant
active tool as tool offset and is immediately effective.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
211
Glossary
Operating mode (CNC)
Operator control concept for SINUMERIK control systems. The following operating modes are
available: -> JOG, -> MDI and -> AUTOMATIC.
Oriented spindle stop
Stops the spindle at a defined orientation angle, e.g. for the execution of additional machining
operation at the specified position.
Override
Manually adjustable or programmable feature of the control system, with which the users can
superimpose the programmed feedrates and speeds to adjust them to their special tool or
material.
Part program
A sequence of instructions to the NC control whose combination is supposed to create a certain
-> workpiece by executing certain DO operations on a specified -> raw part.
Part program management
The "part program management" function can be organized corresponding to the -> workpieces.
The number of programs and data to be managed depends on the capacity of the control
memory and can also be configured via machine data settings. A name consisting of a maximum
of 16 alphanumeric characters can be assigned to each file (programs and data).
Path axis
Path axes are all the machining axes of a -> channel that is controlled by the -> interpolator in
such a way that they start together, accelerate at the same time and reach their end position at
the same time.
Path feedrate
The path feedrate acts on the -> path axes. It represents the geometrical sum of the feedrates of
the participating -> path axes.
Path velocity
The maximum programmable path velocity depends on the input resolution. The maximum
programmable path velocity at a resolution of, say, 0.1 mm is 1.000 m/min.
PCIN data transfer program
PCIN is a routine for transfer and reception of CNC user data, such as part programs, tool offsets
etc. over a serial interface. The PCIN program runs on standard commercial PCs under MS-DOS.
ISO Milling
212
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Glossary
PLC
Programmable Logic Control -> programmable logic controller. Component of -> NC:
Programmable control system for executing the control logic of the machine tool.
PLC program memory
The PLC user program, the user data and the PLC main program are stored together in the PLC
user memory of the PLC. The PLC user memory can be expanded to 128 KB.
PLC programming
The PLC is programmed using the STEP 7 software. The STEP 7 programming software is based
on the WINDOWS standard operating system and contains the functionality of STEP 5
programming with innovative enhancements and developments.
Polar coordinates
A coordinate system, in which the position of a point in the plane is defined with a defined axis
from the perspective of its distance from the coordinate origin and the angle formed by the
radius vector.
Polynomial interpolation
Polynomial interpolation is a means with which a very large range of curve characteristics
including straight line, parabola and exponential functions can be created.
Positioning axis
An axis that executes auxiliary movement in the machine (e.g. tool magazine, palette
transport). Positioning axes are axes that do not interpolate with -> path axes.
Preprocessing memory, dynamic
The traversing blocks are prepared before their execution (pre-processed) and stored in a
"preprocessing" memory. Block sequences can be executed from this memory at a very high
speed. Blocks can be loaded in the preprocessing memory continuously during the machining.
Preprocessing stop
Program command The next block in a part program is executed only if all the earlier prepared
blocks stored in the preprocessing memory have been processed.
Preset
The machine zero point can be redefined in the machine coordinate system by means of the
preset function. No axis is traveled during preset; instead, a new position value is input for the
current axis position.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
213
Glossary
Programmable frames
New starting points of a coordinate system can be defined dynamically with programmable ->
frames when the program is running. One differentiates between absolute definitions in which
new frames are used, and additive definitions in which the definition is undertaken with
reference to an existing starting point.
Programmable logic controller
Programmable logic controllers (PLC) are electronic control systems whose functions are stored
in the control system as a program. Hence, the structure and wiring do not depend on the control
functions. Programmable logic controllers are designed exactly like a computer, i.e. they consist
of a CPU with memory, I/O modules and an internal bus system. The selection of the I/O modules
and the programming language depends on the technology used.
Programmable working area limitation
Limiting the traversing range of the tool to defined, programmable limits.
Programming key
Characters and character strings with an accurately defined meaning within the programming
language for -> part programs (refer to programming manual).
Protection zone
Three-dimensional zone inside a -> working area which the tool cannot reach (can be
programmed via MD).
Quadrant error compensation
Contour errors in quadrant transitions that are caused by frictional losses on the guide rails can
be corrected to a large extent with the quadrant error compensation. A circularity test is used to
define the parameters of the quadrant error compensation.
Rapid traverse
The maximum rapid traverse rate of an axis is, for instance, used to traverse a tool from the idle
position to the -> workpiece contour or to retract the tool from the workpiece contour.
Reference point
Point on the machine to which the measuring system of the -> machine axis refers.
Reference point approach
If the position measuring system used is not an absolute encoder, then reference point approach
must be started so that the actual values delivered by the measuring system match the machine
coordinate system values.
ISO Milling
214
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Glossary
REPOS
1. Repositioning to the contour, triggered by the operator
REPOS can be used to reset the tool to the interruption point with direction keys.
2. Programmed repositioning to the contour
A selection of approach strategies is available in the form of program commands:
Approaching the interruption point, approaching the starting block, approaching the last
block, approaching a point on the path between block start and interruption point.
Revolutional feedrate
The axis feedrate is set in the channel as a function of the main spindle speed (programming
with G95).
Rigid tapping
This function is used for tapping without compensating chuck. In this case, the spindle is
controlled as an interpolatory rotary axis with the effect that the threads are drilled up to the
final drilling depth, e.g. in tapping of blind holes (precondition: Spindle is operated as axis).
Rotary axis
Rotary axes are used to rotate the tool or workpiece by a certain angle.
Rotary axis, continuously turning
The traversing range of a rotary axis can be set either to a modulo value (can be adjusted via
machine data) or as endlessly turning in both directions, depending on the relevant application.
Endlessly turning rotary axes are used, e.g. for non-circular machining, grinding and winding
jobs.
Rotation
Component of a -> frame which defines a rotation of the coordinate system through a specific
angle.
Rounding axis
Rounding axes enable the workpiece or tool to turn by a certain angle that is stored in the
indexing grid. The rounding axis is "in position" when the latching is reached.
R-parameters
R-parameters. The programmer can assign or query the values of the R-parameters, if necessary
in the -> part program.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
215
Glossary
S7 configuration
"S7 configuration" is a tool for defining the parameters of modules. "S7 configuration" can be
used to set different -> parameter sets of the -> CPU and the I/O modules in the -> programming
device. These parameters are loaded to the CPU.
S7-300 bus
The S7-300 bus is a serial data bus that supplies the appropriate voltage to the modules, and that
is used by these modules for data interchange. The modules are interconnected via plug-in bus
connectors.
Safety functions
The control system has constantly active monitoring functions with which errors in the -> CNC,
the programmable control system (-> PLC) and the machine can be detected early enough to
avoid damages to the workpiece, tool or machine to a large extent. The machining is interrupted
and the drives are stopped when a fault or error occurs. The cause of the error is recorded and
an alarm is output. At the same time, the PLC is notified that a CNC alarm has been triggered.
Safety Integrated
Effective, according to EU Directive >>89/392/EEC<<, >> Safety class 3<<according to EN-954-1
(in this standard, classes B. 1-4 classes are defined) for the safety of operators and machines,
integrated in the control system for safe installation and testing.
Failure safety is guaranteed. This safety function is also effective during individual faults.
Scaling
Component of a -> frame through which axis-specific changes are made.
Set
All files that are required for the programming and execution of a program are denoted as sets.
A section of a -> part program which ends with "LineFeed" (line break). A distinction is made
between -> main blocks and -> subblocks.
Setting data
Data that supplies information on the features of the machine to the control system; the method
is defined in the system software. Unlike -> machine data, setting data can be modified by the
user.
Softkey
A key whose name is displayed in one part of the screen. The selection of the softkeys that are
displayed is adjusted automatically to the relevant operating state. The freely programmable
function keys (softkeys) are assigned to certain functions that are defined via the software.
ISO Milling
216
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Glossary
Software limit switch
The limits of the traversing range of an axis is defined with software limit switches and this
prevents the carriage from coming in contact with the hardware limit switches. Two pairs of
values can be assigned per axis, and these can be activated separately via the -> PLC.
Speed limitation
Maximum/minimum (spindle) speed: The maximum spindle speed is limited by the values that
are specified either in the machine data by the-> PLC or the -> setting data.
Spindles
The spindle functionality is a construct with two levels:
Spindles: Speed or position-controlled spindle drives, analog digital (SINUMERIK 840D sl)
Auxiliary spindles: Speed-controlled spindle drives without encoder, e.g. for power tools.
Spline interpolation
The control system can generate a smooth curve with spline interpolation, for which a small
number of interpolation points are necessary along a programmed contour.
Standard cycles
Standard cycles are used to program DO operations that are repeated frequently:
• For drilling/milling
• For measuring tools and workpiece
The available cycles are listed in the "Cycle support" menu in the "Program" operating area. The
required parameters for the assignment of the values are displayed in plain text after the desired
execution cycle has been selected.
Station number
The station number represents the "contact address" of a -> CPU or a -> programming device or
any other intelligent I/O module if these communicate with each other via a -> network. The
station number is assigned to the CPU or the programming device with the S7 tool
-> "S7 configuration".
Subblock
Block preceded by "N" containing information about a machining step, e.g. a position
specification.
Subprogram
A sequence of instructions of a -> part program which can be called multiple times with various
output parameters. Subprograms are always called from the main programs. Subroutines can be
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
217
Glossary
locked against unauthorized export and unauthorized viewing. -> Cycles are subprograms from
the type perspective.
Synchronization
Instructions in -> part programs for coordinating working cycles in different -> channels at
certain machining points.
Synchronized actions
• Auxiliary function output
Technological functions ( -> auxiliary functions) can be output by the CNC program to the PLC
during the machining of a workpiece. These auxiliary functions can, for instance, be used to
control ancillary equipment on the machine (quill, gripper, chuck etc.).
• Fast auxiliary function output
The acknowledgement times of -> auxiliary functions can be reduced and unnecessary
machining process for executing less critical switching functions can be avoided.
Synchronized actions can be combined to build programs (technology cycles). Axis programs
can be started in the same IPO cycle, e.g. by scanning digital inputs.
Synchronized axes
Synchronized axes require the same time to traverse the path as -> geometry axes.
Synchronous spindle
Accurate synchronism of an angle between a master spindle and one or more slave spindles. This
way, the flying transfer of a workpiece from Spindle 1 to Spindle 2 is possible in turning
machines.
In addition to speed synchronism, relative angle positions of the spindles can also be
programmed, e.g. "floating" or the position-oriented transfer of inclined workpieces.
Several pairs of synchronous spindles can be implemented.
System variables
A variable that exists even though it was not programmed by -> part program programmers. It is
defined by the data type and the variable name with the sign $. See also -> User-defined variable.
Teach-in
Teach-in is a means of creating and correcting part programs. The individual program blocks can
be input via the keyboard and executed immediately. The positions approached with the
direction keys or the handwheel can also be stored. Additional information such as G functions,
feedrates or M functions can be entered in the same block.
ISO Milling
218
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Glossary
Tool
A tool that is used to shape a workpiece. Tools are, e.g. turning tools, milling cutters, twist drills,
laser beams, grinding wheels, etc.
Tool offset
A tool is selected by programming a T function (5 digits, integer) in the block. Every T number
can be assigned up to 9 cutting edges (D addresses). The number of tools that are managed in
the control system can be parameterized.
The tool length compensation is selected by programming D numbers.
Tool radius compensation
A contour is programmed on the basis of the assumption that a tool is used with a tool tip. As this
is not always the case in practice, the radius of curvature of the used tool is specified so that an
allowance is considered by the tool. The center of curvature is guided to the contour which is
equidistant with an offset that corresponds to the radius of curvature.
Transformation
If programming is done in one Cartesian coordinate system and execution is done in another
non-Cartesian coordinate system (e.g. with machine axis as rotary axis); then inclined axes and
5-axis transformation are used in connection with transmit.
Transmit
This function can be used to mill outside contours on rotating parts, e.g. four-sided parts (linear
axis with rotary axis).
3D interpolation with two linear axes and one rotary axis is also possible. The advantages of
Transmit simplify programming and improves the efficacy of the machine through complete
machining: Turning and milling can be executed on the same machine without rechucking.
Traversing range
The maximum possible traversing range for linear axes is ± 9 decades. The absolute value
depends on the selected resolution for the data input and position control, and on the used unit
of measurement (inch or metric).
User interface
The user interface (UI) is the human machine interface (HMI) of a CNC. It appears on the screen
and has eight horizontal and eight vertical softkeys.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
219
Glossary
User memory
All programs and data, such as part programs, subprograms, comments, tool offsets, work
offsets/frames, as well as channel and program user data, can be stored in the shared CNC user
memory.
User-defined variables
Users have the option of defining variables for their own purposes in the -> part program or in
a data block (global user data). The variable definition contains the specification of the data type
and the variable name. See also -> System variable.
Variable definition
A variable is defined by specifying a data type and a variable name. The variable name can be
used to access the value of the variable.
Velocity control
The control system can execute a look-ahead evaluation over several blocks (-> LookAhead) to
achieve an acceptable traversing speed during movements that require only very small
adjustments of position in a block.
Vocabulary words
Words with a certain notation and a defined meaning in the programming language for -> part
programs.
Work memory
The work memory is a memory offering free access (RAM or Random Access Memory) in the ->
CPU which the processor accesses while executing the application program.
Work offset
Specification of a new reference point for a coordinate system by referring to an existing zero
point and a -> Frame.
1. Settable
SINUMERIK 840D sl: There is a parameterizable number of adjustable work offsets for each CNC
axis. Each work offset can be selected via G functions; the selection is exclusive.
2. External
All movements that define the position of the workpiece zero can be superimposed by an
external work offset, which
is either defined by a handwheel (DRF movement) or
the PLC.
3. Programmable
The TRANS instruction can be used to program work offsets for all path and positioning axes.
ISO Milling
220
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
Glossary
Working area
Three-dimensional zone in which the tool tip can be moved due to the physical design of the
machine. See also -> Protection zone.
Workpiece
The part that is produced/machined on the machine tool.
Workpiece contour
Programmed contour of the -> workpiece to be made/machined.
Workpiece coordinate system
The origin of the workpiece coordinate system is the -> workpiece zero. For working cycles that
are programmed in the workpiece coordinate system, the dimensions and directions refer to this
system.
Workpiece zero
The workpiece zero is the origin of the -> workpiece coordinate system. It is determined based
on its distance from the machine zero point.
ISO Milling
Programming Manual, 10/2020, 6FC5398-7BP40-3BA1
221
Preface
Fundamental safety
1
instructions
Fundamentals of
2
programming
SINUMERIK
3
Travel commands
SINUMERIK 840D sl
ISO Turning
4
Traversing command
Additional functions
5
Programming Manual
A
Abbreviations
G code table
B
C
Data Description
Data lists
D
E
Alarms
Valid for
control system
SINUMERIK 840D sl / 840DE sl
Software Version V4.92
06/2019
A5E47432465B AA
Table of contents
Preface
3
1
Fundamental safety instructions
9
1.1
General safety instructions
9
1.2
Warranty and liability for application examples
10
1.3
Industrial security
11
2
Fundamentals of programming
13
2.1
Introductory remarks
13
2.1.1
Siemens mode
13
2.1.2
ISO dialect mode
13
2.1.3
Switching between the modes
13
2.1.4
Display of the G code
14
2.1.5
Maximum number of axes/axis identifiers
14
2.1.6
Define G code system A, B or C
14
2.1.7
Programming the decimal point
15
2.1.8
Comments
16
2.1.9
Skip block
17
2.2
Prerequisites for the feed
18
2.2.1
Rapid traverse
18
2.2.2
Path feed (F function)
18
2.2.3
Linear feed (G94)
20
2.2.4
Inverse-time feed (G93)
20
2.2.5
Revolutional feedrate (G95)
20
3
Travel commands
21
3.1
Interpolation commands
21
3.1.1
Rapid traverse (G00)
21
3.1.2
Linear interpolation (G01)
23
3.1.3
Circular interpolation (G02, G03)
24
3.1.4
Contour definition programming and insertion of chamfers and radii
27
3.1.5
Involute interpolation (G02.2, G03.2)
29
3.1.6
Cylindrical interpolation (G07.1)
30
3.1.7
Polar coordinates interpolation (G12.1, G13.1) (TRANSMIT)
32
3.2
Reference point approach with G functions
34
3.2.1
Reference point approach with intermediate point (G28)
34
3.2.2
Checking the reference position (G27)
35
3.2.3
Reference point approach with reference point selection (G30)
35
3.3
Use of the thread cutting function
37
3.3.1
Thread cutting with constant lead (G33)
37
3.3.2
Interlinking of threads (G33)
39
3.3.3
Cutting of multiple-start threads (G33)
40
3.3.4
Cutting of thread with variable lead (G34)
42
3.3.5
Convex thread with G35 and G36
43
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
5
Table of contents
4
Traversing command
45
4.1
The coordinate system
45
4.1.1
Machine coordinate system (G53)
45
4.1.2
Workpiece coordinate system (G92)
46
4.1.3
Resetting the tool coordinate system (G92.1)
46
4.1.4
Selection of a workpiece coordinate system
47
4.1.5
Writing work offset/tool offsets (G10)
47
4.2
Defining the input modes for the coordinate values
50
4.2.1
Absolute/incremental dimensioning (G90, G91)
50
4.2.2
Diameter and radius programming for the X-axis
52
4.2.3
Input inch/metric (G20, G21)
53
4.3
Time-controlled commands
55
4.3.1
Dwell time (G04)
55
4.4
Tool offset functions
56
4.4.1
Tool offset data memory
56
4.4.2
Tool length compensation
56
4.4.3
Tool nose radius compensation (G40, G41/G42)
57
4.5
S-, T-, M- and B functions
63
4.5.1
Spindle function (S function)
63
4.5.2
Constant cutting rate (G96, G97)
63
4.5.3
Tool change with T functions (T function)
65
4.5.4
Additional function (M function)
65
4.5.5
M functions of spindle control
66
4.5.6
M functions for subroutine calls
66
4.5.7
Macro call via M function
66
4.5.8
M functions
68
5
Additional functions
69
5.1
Program-support functions
69
5.1.1
Fixed cycles
69
5.1.2
Multiple repetitive cycles
77
5.1.3
Drilling cycle (G80 to G89)
93
5.2
Programmable data input
104
5.2.1
Changing the tool offset value (G10)
104
5.2.2
M function for calling subroutines (M98, M99)
105
5.3
Eight-digit program number
107
5.4
Measuring functions
109
5.4.1
Rapid lift with G10.6
109
5.4.2
Delete measuring with distance-to-go (G31)
109
5.4.3
Measuring with G31, P1 - P4
110
5.4.4
Interrupt program with M96/M97 (ASUB)
111
5.5
Macro programs
114
5.5.1
Differences with subroutines
114
5.5.2
Macro program call (G65, G66, G67)
114
5.6
Special functions
121
5.6.1
G05
121
5.6.2
Multi-edge turning
121
ISO Turning
6
Programming Manual, 06/2019, A5E47432465B AA
Table of contents
5.6.3
Compressor in the ISO dialect mode
123
5.6.4
Switchover modes for DryRun and skip levels
123
5.6.5
Interrupt program with M96, M97
124
A
Abbreviations
127
B
G code table
135
C
Data Description
139
C.1
General machine/setting data
139
C.2
Channel-specific machine data
152
C.3
Axis-specific setting data
161
C.4
Channel-specific setting data
162
D
Data lists
165
D.1
Machine data
165
D.2
Setting data
168
D.3
Variables
169
E
Alarms
171
E.1
Alarms
171
Glossary
173
Index
197
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
7
Fundamental safety instructions
1
1.1
General safety instructions
WARNING
Danger to life if the safety instructions and residual risks are not observed
If the safety instructions and residual risks in the associated hardware documentation are not
observed, accidents involving severe injuries or death can occur.
● Observe the safety instructions given in the hardware documentation.
● Consider the residual risks for the risk evaluation.
WARNING
Malfunctions of the machine as a result of incorrect or changed parameter settings
As a result of incorrect or changed parameterization, machines can malfunction, which in turn
can lead to injuries or death.
● Protect the parameterization against unauthorized access.
● Handle possible malfunctions by taking suitable measures, e.g. emergency stop or
emergency off.
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
9
Fundamental safety instructions
1.2 Warranty and liability for application examples
1.2
Warranty and liability for application examples
Application examples are not binding and do not claim to be complete regarding configuration,
equipment or any eventuality which may arise. Application examples do not represent specific
customer solutions, but are only intended to provide support for typical tasks.
As the user you yourself are responsible for ensuring that the products described are operated
correctly. Application examples do not relieve you of your responsibility for safe handling when
using, installing, operating and maintaining the equipment.
ISO Turning
10
Programming Manual, 06/2019, A5E47432465B AA
Fundamental safety instructions
1.3 Industrial security
1.3
Industrial security
Note
Industrial security
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is
necessary to implement - and continuously maintain - a holistic, state-of-the-art industrial
security concept. Products and solutions from Siemens constitute one element of such a
concept.
Customers are responsible for preventing unauthorized access to their plants, systems,
machines and networks. Such systems, machines and components should only be connected
to an enterprise network or the Internet if and to the extent such a connection is necessary and
only when appropriate security measures (e.g. using firewalls and/or network segmentation)
are in place.
For additional information on industrial security measures that can be implemented, please
visit:
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they become
available, and that only the latest product versions are used. Use of product versions that are
no longer supported, and failure to apply the latest updates may increase customer’s exposure
to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS
Feed at:
Further information is provided on the Internet:
Industrial Security Configuration Manual (https://support.industry.siemens.com/cs/ww/en/
view/108862708)
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
11
Fundamental safety instructions
1.3 Industrial security
WARNING
Unsafe operating states resulting from software manipulation
Software manipulations, e.g. viruses, Trojans, or worms, can cause unsafe operating states
in your system that may lead to death, serious injury, and property damage.
● Keep the software up to date.
● Incorporate the automation and drive components into a holistic, state-of-the-art industrial
security concept for the installation or machine.
● Make sure that you include all installed products into the holistic industrial security concept.
● Protect files stored on exchangeable storage media from malicious software by with
suitable protection measures, e.g. virus scanners.
● On completion of commissioning, check all security-related settings.
● Protect the drive against unauthorized changes by activating the "Know-how protection"
converter function.
ISO Turning
12
Programming Manual, 06/2019, A5E47432465B AA
Fundamentals of programming
2
2.1
Introductory remarks
2.1.1
Siemens mode
The following conditions are valid in the Siemens mode:
● The default of the G commands can be defined for each channel via the machine data 20150
$MC_GCODE_RESET_VALUES.
● No language commands from the ISO dialects can be programmed in the Siemens mode.
2.1.2
ISO dialect mode
The following conditions are valid in the active ISO dialect mode:
● The ISO dialect mode can be set with machine data as the default setting of control system.
The control system reboots by default in the ISO dialect mode subsequently.
● Only G functions from the ISO dialect can be programmed; the programming of Siemens G
functions is not possible in the ISO Mode.
● Mixing of ISO dialect and Siemens language in the same NC block is not possible.
● Switching between ISO Dialect M and ISO Dialect T with a G command is not possible.
● Subroutines that are programmed in the Siemens mode can be called.
● If Siemens functions are to be used, one must first switch to the Siemens mode.
2.1.3
Switching between the modes
The following G functions can be used to switch between the Siemens mode and the ISO
dialect mode:
● G290 - Siemens NC programming language active
● G291 - ISO Dialect NC Programming language active
The active tool, the tool offsets and work offsets are not influenced by the switchover.
G290 and G291 must be programmed alone in an NC block.
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
13
Fundamentals of programming
2.1 Introductory remarks
2.1.4
Display of the G code
The G code is displayed in the same language (Siemens or ISO Dialect) as the relevant current
block. If the display of the blocks is suppressed with DISPLOF, the G codes continue to be
displayed in the language in which the active block is displayed.
Example
The G functions of the ISO dialect mode are used to call the Siemens standard cycles. To do
this, DISPLOF is programmed at the start of the relevant cycle; this way the G functions that are
programmed in the ISO dialect language continue to be displayed.
PROC CYCLE328 SAVE DISPLOF
N10
N99 RET
Procedure
The Siemens shell cycles are called via main programs. The Siemens mode is selected
automatically by calling the shell cycle.
With DISPLOF, the block display is frozen on calling the cycle; the display of the G code
continues in the ISO Mode.
The G codes that were changed in the shell cycle, are reset to their original status at the end
of the cycle with the "SAVE" attribute.
2.1.5
Maximum number of axes/axis identifiers
The maximum number of axes in the ISO dialect mode is 9. The axis identifiers for the first three
axes are defined permanently with X, Y and Z. All other axes can be identified with the letters
A, B, C, U, V and W.
2.1.6
Define G code system A, B or C
In the ISO-dialect-T, a differentiation is made between the G code system A, B or C. By default,
the G code system B is active. Via the MD10881 $MN_MM_EXTERN_GCODE_SYSTEM, the
G code system A, B or C is selected as follows:
$MN_MM_EXTERN_GCODE_SYSTEM = 0: G code system B
$MN_MM_EXTERN_GCODE_SYSTEM = 1: G code system A
$MN_MM_EXTERN_GCODE_SYSTEM = 2: G code system C
ISO Turning
14
Programming Manual, 06/2019, A5E47432465B AA
Fundamentals of programming
2.1 Introductory remarks
G code system A
If the G code system A is active, then G91 is not available. In this case, an incremental axis
movement with the address characters U, V and W is programmed for the axis X, Y and Z. The
address characters U, V and W are not available in this case as axis identifiers, as a result, the
maximum number of axes reduces to 6.
The address H is used for programming the incremental movements of the C-axis in the G code
system A.
Note
Unless otherwise specified, the G code system B is excluded in this documentation.
2.1.7
Programming the decimal point
In the ISO Dialect mode, there are two notations for evaluating the programmed values without
decimal point:
● Pocket calculator notation
Values without decimal point are interpreted as mm, inch or degree.
● Standard notation
Values without decimal points are multiplied with the conversion factor.
The setting is done via MD10884 EXTERN_FLOATINGPOINT_PROG.
There are two different conversion factors, IS-B and IS-C. This evaluation refers to the
addresses X Y Z U V W A B C I J K Q R and F.
Example:
Linear axis in mm:
● X 100.5
corresponds to value with decimal point: 100.5 mm
● X 1000
- Pocket calculator notation: 1000 mm
- Standard notation:
IS-B: 1000 * 0.001= 1 mm
IS-C: 1000 * 0.0001 = 0.1 mm
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
15
Fundamentals of programming
2.1 Introductory remarks
ISO dialect Rotate
Table 2-1
Different conversion factors for IS-B and IS-C
Address
Unit
IS-B
IS-C
Linear axis
mm
0,001
0,0001
inch
0,0001
0,00001
Rotary axis
Degree
0,001
0,0001
F Feed G94 (mm/inch per min.)
mm
1
1
inch
0,01
0,01
F Feed G95 (mm/inch per rotation)
$MC_EXTERN_FUNCTION_MASK
Bit8 = 0
mm
0,01
0,01
inch
0,0001
0,0001
Bit8 = 1
mm
0,0001
0,0001
inch
0,000001
0,000001
F Thread lead
mm
0,0001
0,0001
inch
0,000001
0,000001
C Chamfer
mm
0,001
0,0001
inch
0,001
0,0001
R Radius, G10 toolcorr
mm
0,001
0,0001
inch
0,001
0,0001
I, J, K IPO-Parameter
mm
0,001
0,0001
inch
0,001
0,0001
G04 X or U
0,001
0,001
A Angle contour definition
0,001
0,001
G76, G78 tapping cycle
$MC_EXTERN_FUNCTION_MASK
Bit8 = 0 F as feed such as G94, G95
Bit8 = 1 F as thread lead
G84, G88 tapping cycle
$MC_EXTERN_FUNCTION_MASK
Bit9 = 0 G95 F
mm
0,01
0,01
inch
0,0001
0,0001
Bit8 = 1 G95 F
mm
0,0001
0,0001
inch
0,000001
0,000001
2.1.8
Comments
In the ISO dialect mode, brackets are interpreted as comment signs. In the Siemens mode, ";"
is interpreted as comment. To simplify matters, an ";" is also understood as comment in the ISO
dialect mode.
If the comment start sign '(' is used inside a comment again, the comment is ended only if all the
open brackets are closed again.
ISO Turning
16
Programming Manual, 06/2019, A5E47432465B AA
Fundamentals of programming
2.1 Introductory remarks
Example:
N5 (comment) X100 Y100
N10 (comment(comment)) X100 Y100
N15 (comment(comment) X100) Y100
X100 Y100 is executed in block N5 and N10, but only Y100 in block N15, because the first
bracket is closed only after X100. Everything up to that point is interpreted as comment.
2.1.9
Skip block
The sign of skipping or suppression of blocks "/" can be used at any convenient position in a
block, i.e. even in the middle of the block. If the programmed block skip level is active on the
date of the compilation, the block is not compiled from this point up to the end of the block. An
active block skip level has the same effect as a block end.
Example:
N5 G00 X100. /3 YY100 --> Alarm 12080 "Syntax error"
N5 G00 X100. /3 YY100 --> no alarm, if block skip level 3 is active
Block skip signs within a comment are not interpreted as block skip signs
Example:
N5 G00 X100. ( /3 Part1 ) Y100
;the Y axis is traversed even when the block skip level 3 is active
The block skip levels /1 to /9 can be active. Block skip values <1 and >9 lead to alarm 14060
"Impermissible skip level for differential block skip".
The function is mapped to the existing Siemens skip levels. Unlike the ISO Dialect original, "/"
and "/1" are separate skip levels that must also be activated separately.
Note
The "0" in "/0" can be omitted.
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
17
Fundamentals of programming
2.2 Prerequisites for the feed
2.2
Prerequisites for the feed
The following Section describes the feed function with which the feedrate (covered path per
minute or per rotation) of a cutting tool is defined.
2.2.1
Rapid traverse
Rapid traverse is used for positioning (G00) as well as for manual traverse with rapid traverse
(JOG). In rapid traverse, each axis is traversed with the rapid traverse rate set for the individual
axes. The rapid traversing rate is defined by the machine manufacturer and it is specified by the
machine data for the individual axes. As the axes traverse independently of each other, each
axis reaches its target point at a different time. Hence, the resulting tool path is generally not a
straight line.
2.2.2
Path feed (F function)
Note
Unless otherwise specified, the unit "mm/min" is always used for the feedrate of the cutting tool
in this documentation.
The feed, with which a tool should be traversed in case of linear interpolation (G01) or circular
interpolation (G02, G03), is programmed with the address character "F".
After the next address character "F", the feed of the cutting tool is specified in "mm/min".
The permissible range of the F value is given in the documentation of the machine
manufacturer.
Possibly, the feed is restricted upward by the servo-system and by the mechanics. The
maximum feed is set through the machine data and is restricted before exceeding the value
defined there.
The path feed is generally composed of the individual speed components of all geometry axes
participating in the movement and refers to the center point (see following two images).
ISO Turning
18
Programming Manual, 06/2019, A5E47432465B AA
Fundamentals of programming
2.2 Prerequisites for the feed
3URJUDPPLQJ H[DPSOH
*
6
U PLQ
*
*
;
=
)
7UDYHUVLQJ VSHHG LQ
WDQJHQWLDO GLUHFWLRQ
PP PLQ
PP PLQ
<
PP PLQ
;
Figure 2-1
Linear interpolation with 2 axes
3URJUDPPLQJ H[DPSOH
*
*
;
=
,
)
*
6
U PLQ
&HQWHU SRLQW
PP PLQ
)[
;
)]
=
Figure 2-2
Circular interpolation with 2 axes
Note
If "F0" is programmed and the function "Fixed feedrates" is not activated in the block, then the
alarm 14800 "Channel %1 Set %2 programmed path velocity is less than or equal to zero" is
given off.
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
19
Fundamentals of programming
2.2 Prerequisites for the feed
2.2.3
Linear feed (G94)
On specifying G94, the feed given after the address character F is executed in the mm/min,
inch/min or degree/min unit.
2.2.4
Inverse-time feed (G93)
On specifying G93, the feed given after the address character F is executed in the 1/min unit.
G93 is a modally effective G function.
Example
N10 G93 G1 X100 F2 ;
i.e., the programmed path is traversed within half a minute.
2.2.5
Revolutional feedrate (G95)
On entering G95, the feed is executed in the mm/revolution unit or inch/revolution related to the
master spindle.
Note
All of the commands are modal. If the G feed command is switched among G93, G94 or G95,
the path feed must be reprogrammed. The feed can also be specified in degree/revolution for
the machining with rotary axes.
ISO Turning
20
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3
3.1
Interpolation commands
The positioning and interpolation commands, with which the tool path along the programmed
contour, such as a straight line or a circular arc, is monitored, are described in the next Section.
3.1.1
Rapid traverse (G00)
You can use the rapid traverse movements to position the tool rapidly, to travel around the
workpiece or to approach tool change points.
The following G functions can be used for positioning (see the table below):
Table 3-1
G functions for positioning
G function
Function
G group
G00
Rapid traverse
01
G01
Linear motion
01
G02
Circle/helix in clockwise direction
01
G03
Circle/helix in counterclockwise direction
01
Positioning with (G00)
Format
G00 X... Y... Z... ;
G00 with linear interpolation
The tool movement programmed with G00 is executed at the highest possible travel speed
(rapid traverse). The rapid traverse rate is defined separately for each axis in the machine data.
If the rapid traverse movement is executed simultaneously on several axes, then the rapid
traverse rate in case of linear interpolation is determined by the axis, which requires the most
time for its section of the path.
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
21
Travel commands
3.1 Interpolation commands
G00 without linear interpolation
Axes not programmed in the G00 block are also not traversed. During positioning, the individual
axes traverse with the rapid traverse rate specified for each axis independent of one another.
The exact speeds for your machine are given in the documentation of the machine
manufacturer.
;
:
=
;
=
Figure 3-1
Rapid traverse with 2 non-interpolating axes
Note
Since during positioning with G00 the axes traverse independent of one another (do not
interpolate), each axis reaches its end point at a different point of time. Therefore, you must
proceed extremely careful when positioning several axes, so that a tool does not collide with a
workpiece or a device during positioning.
*
;
=
7KH YHORFLW\ IRU WKH FRPSHQVDWLQJ PRYHPHQW LV
VSHFLILHG ZLWK *
*
7
6
0
*
;
=
,Q WKLV FDVH LW LV QRW DEVROXWHO\ QHFHVVDU\ WR
ZULWH *
EHFDXVH WKLV LV D PRGDO FRPPDQG
;
=
Figure 3-2
Programming example
ISO Turning
22
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3.1 Interpolation commands
Linear interpolation (G00)
Linear interpolation with G00 is set by setting the machine data 20732
$MC_EXTERN_GO_LINEAR_MODE. Hence all programmed axes traverse in rapid traverse
with linear interpolation and reach their target position simultaneously.
3.1.2
Linear interpolation (G01)
With G01 the tool travels on axially parallel, inclined or straight lines arbitrarily positioned in the
space. Linear interpolation permits machining of 3D surfaces, grooves, etc.
Format
G01 X... Z... F... ;
In case of G01 the linear interpolation is executed with the path feed. The axes not specified in
the block with G01 are also not traversed. The linear interpolation is programmed as given in
the example above.
Feed F for path axes
The feedrate is specified under the address F. Depending on the default setting in the machine
data, the units of measurement specified with the G commands (G93, G94, G95) are either in
mm or inch.
One F value can be programmed per NC block. The unit of the feedrate is defined via one of the
G commands mentioned. The feed F acts only on path axes and remains active until a new feed
value is programmed. Separators are permitted after address F.
Note
If no feed Fxx is programmed in a block with G01 or in the previous blocks, an alarm is given
off when a G01 block is executed.
The end point can be specified either as absolute or incremental. For details see the Chapter
"Absolute/incremental dimensioning".
;
SURJUDPPHG SRLQW
=
:
;
FXUUHQW WRRO SRVLWLRQ
=
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
23
Travel commands
3.1 Interpolation commands
Figure 3-3
Linear interpolation
3URJUDPPLQJ H[DPSOH
7KH D[HV DUH WUDYHUVHG LQ WKH OLQHDU LQWHUSRODWLRQ
*
;
=
PRGH *
*
7
6
0
;
=
*
=
)
;
)
;
=
Figure 3-4
Programming example
3.1.3
Circular interpolation (G02, G03)
Format
With the command given below the rotary tool traverses in the ZX plane on the programmed
circular arc. The programmed path velocity is thereby maintained along the arc.
G02(G03) X(U)... Z(W)... I... K... (R...) F... ;
&HQWHU SRLQW
; (QG SRLQW
5
,
6WDUW SRLQW
W
=
:
=
=
Figure 3-5
Circular interpolation
ISO Turning
24
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3.1 Interpolation commands
In order to start the circular interpolation, the commands given in the following table are to be
executed:
Table 3-2
Commands for executing the circular interpolation
Element
Command
Description
Direction of rotation
G02
clockwise
G03
Counterclockwise
End-point position
X (U)
X coordinate of the arc end point (dia-
metric value)
Z (W)
Z coordinate of the arc end point
Y (V)
Y coordinate of the arc end point
Distance start point - center point
I
Distance of the start point to the center
point of the arc in the X-axis
J
Distance of the start point to the center
point of the arc in the Y-axis
K
Distance of the start point to the center
point of the arc in the Z-axis
Radius of arc
R
Distance of the start point to the center
of arc
Direction of rotation
The direction of rotation of the arc is defined with the G functions listed in the table given below.
Direction of rotation
G02
clockwise
G03
Counterclockwise
;
*
*
=
Figure 3-6
Direction of rotation of the arc
End point
The end point can be specified with G90 or G91 either as absolute or as incremental value.
Programming of circular movements
The ISO mode offers two possibilities for programming the circular movements.
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
25
Travel commands
3.1 Interpolation commands
The circular motion is described by the:
● Center point and end point in the absolute or incremental dimension
● Radius and end point in Cartesian coordinates
For a circular interpolation with a central angle <= 180 degree, "R > 0" (positive) is to be
programmed.
For a circular interpolation with a central angle > 180 degree, "R < 0" (negative) is to be
programmed.
3URJUDPPLQJ H[DPSOH
*
;8
=:
5s
)
r RU JUHDWHU
(QG SRLQW
r RU OHVVHU
5
5!
6WDUW SRLQW
Figure 3-7
Circular interpolation with the specification of the radius R
Feed
In the circular interpolation, the feed is programmed in the same way as for the linear
interpolation (see also Chapter "Linear interpolation (G01)").
Programming example
3URJUDPPLQJ H[DPSOH
*
=
)
;
*
;
=
,
)
,
5
%
$
š
š
=
ISO Turning
26
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3.1 Interpolation commands
Figure 3-8
Circular interpolation over several quadrants
Center of arc
(10000, 2700)
PP
Value of "I"
Value of "K"
෭ t
t
෭
PP
3.1.4
Contour definition programming and insertion of chamfers and radii
Chamfers or radii can be inserted after each traversing block between linear and circular
contours, for instance for deburring the sharp workpiece edges.
The following combinations are possible when inserting:
● between two straight lines
● between two circular arcs
● between a circular arc and a straight line
● between a straight line and a circular arc
Format
,A...;Angle
,C...;Chamfer
,R...;Rounding
Example
N10 G1 X10. Z100. F1000 G18
N20 ,A140 C7.5
N30 X80. Z70. A95.824 R10
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
27
Travel commands
3.1 Interpolation commands
;
;
=
;
=
5DGLXV
r
5
&KDPIHU
;
=
r
;
=
<
Figure 3-9
3 straight lines
ISO dialect mode
In the ISO dialect original, address A or C can be used as axis name and to designate an angle
or a chamfer on the contour.
Address R can either be a cycle parameter or an identifier for the radius in a contour.
To differentiate between these two possibilities, a comma "," must be used before the address
"A", "R" or "C" when programming the contour definition. If an angle is programmed before "C"
or "R", then an additional comma does not have to be set. When a radius and a chamfer are
programmed together in a block, e.g.
N333 X100 ,A10 C20 R15, regardless of the programming sequence a radius is always
inserted in the contour. The chamfer is ignored.
ISO Turning
28
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3.1 Interpolation commands
3.1.5
Involute interpolation (G02.2, G03.2)
Overview
The involute of a circle is a curve traced out from the end point on a "piece of string" unwinding
from the curve. The involute interpolation allows trajectories along an involute. It is executed in
the plane in which the base circle is defined. If the starting point and the end point are not in this
plane, then, analogous to the helical interpolation for circles, there is a superimposition to a
curve in space.
<
1
HQG SRLQW
;
<
1
1
&5
1
VWDUW SRLQW
;
;
<
An involute can be traversed in space in case of additional specification of paths vertical to the
active plane.
Format
G02.2 X... Y... Z... I... J... K... R
G03.2 X... Y... Z... I... J... K... R
G02.2:
Travel on an involute in clockwise direction
G03.2:
Travel on an involute in counterclockwise direction
X Y Z:
End point in Cartesian coordinates
I J K:
Center of the base circle in cartesian coordinates
R:
Radius of the base circle
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
29
Travel commands
3.1 Interpolation commands
Supplementary conditions
Both the starting point and the end point must be outside the area of the base circle of the
involute (circle with radius R around the center point specified by I, J, K). If this condition is not
satisfied, an alarm is generated and the program execution is aborted.
Note
For more information about machine data and supplementary conditions that are relevant to
involute interpolation, please see
References: /FB1/, A2 Chapter "Settings for involute interpolation".
3.1.6
Cylindrical interpolation (G07.1)
With the function of cylindrical interpolation, any number of traversing grooves can be
machined at the cylindrical workpieces. The path of the grooves is programmed with reference
to the unwrapped, level surface of the cylinder. The cylindrical interpolation is started with
G07.1 with the specification of the cylinder radius (G07.1 C<cylinder radius>) and ended with
G07.1 (radius 0). A programming is possible with absolute commands (C, Z) as well as also with
incremental commands (H, W).
The following G function is used for the cylindrical interpolation:
Table 3-3
G functions for switching the cylindrical interpolation on/off
G function
Function
G group
G07.1
Operation with cylindrical interpolation
18
Format
G07.1 A (B, C) r
;Activation of the operation with cylindrical interpola-
tion
G07.1 A (B, C) 0
;Deactivation of the operation with cylindrical interpola-
tion
A, B, C: Address for the rotary axis
r: Radius of the cylinder
No further commands may be present in the block with G07.1.
ISO Turning
30
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3.1 Interpolation commands
The command G07.1 is modal. When G07.1 is specified once, the cylindrical interpolation
remains active for so long till G07.1 A0 (B0, C0) is deselected. In case of closed position or after
NC RESET the cylindrical interpolation gets deactivated.
Note
Cylindrical interpolation (G07.1)
● G07.1 is based on the Siemens option TRACYL. For this, the corresponding machine data
are to be set.
● The corresponding specifications for this are given in the manual "Extended Functions",
Chapter M1, "TRACYL".
The rotary axis for the cylindrical interpolation and also its name is defined with the machine
data 24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1.
Example
&XWWLQJ WRRO
=
&
5
3RVLWLRQLQJ DW WKH VWDUW SRLQW RI WKH FXW PDFKLQLQJ
*
;
&
*
&
&\OLQGULFDO LQWHUSRODWLRQ PRGH 21
*
*
=
)
&
=
&
0DFKLQLQJ SURJUDP
*
=
&
5
*
=
&
5
* &
=
*
&
0
&\OLQGULFDO LQWHUSRODWLRQ PRGH 21
Figure 3-10
Programming example for the cylindrical interpolation
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
31
Travel commands
3.1 Interpolation commands
3.1.7
Polar coordinates interpolation (G12.1, G13.1) (TRANSMIT)
With G12.1 and G13.1 an interpolation is activated and deactivated in the machining plane
between a rotary axis and a linear axis. A further linear axis is present perpendicular to this
plane.
This function corresponds to the TRANSMIT function in the Siemens mode. For G12.1, the
machine data of the 2nd transformation data set must be parameterized.
Properties of G12.1 and G13.1
The polar coordinates interpolation mode is activated / deactivated with the following G
functions.
Table 3-4
G functions for switching the polar coordinates interpolation on/off
G function
Function
G group
G12.1
Operation with polar coordination interpolation ON
21
G13.1
Operation with polar coordination interpolation OFF
21
The commands G12.1 and G13.1 may not be programmed together with other commands in a
block.
Commands G12.1 and G13.1 act globally and belong to G group 21. For G12.1, the polar
coordinates interpolation remains active for as long as G13.1 is programmed. Switch-on
position or after NC RESET, G13.1 is active (polar coordinates interpolation is deactivated).
Restrictions during the selection
● No intermediate movement block is inserted (chamfer/radii).
● A series of spline blocks must be concluded.
● An active tool length offset must be deselected.
● An activated tool radius compensation is incorporated into the transformation in the
geometry axis by the control system.
● The frame that was active before TRANSMIT is deselected by the control system
(corresponds to programmed frame reset G500 in the Siemens mode).
● An active working area limitation is deselected by the control system for the axes affected
by the transformation (corresponds to programmed WALIMOF in the Siemens mode).
● Continuous path control and rounding are interrupted.
● Possibly active DRF offsets in transformed axes must have been deleted by the operator.
● No geo axis interchange (parallel axes with G17 (G18, G19)) should be active.
ISO Turning
32
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3.1 Interpolation commands
Restrictions for the polar coordinates interpolation
● Tool change:
Before a tool change, a tool radius compensation must be deselected!
● Work offset:
All instructions, which refer exclusively to the basic coordinate system, are permissible
(FRAME, tool radius compensation). Unlike the procedure for inactive transformation, a
frame change with G91 (incremental dimension) is not specially treated. The increment to
be traversed is evaluated in the workpiece coordinate system of the new frame - regardless
of which frame was effective in the previous block.
Programming example
9LUWXDO & D[LV
& D[LV
; D[LV
&XWWLQJ WRRO
3URJUDPPLQJ H[DPSOH
*
3RVLWLRQLQJ DW WKH VWDUW SRLQW RI WKH FXW PDFKLQLQJ
*
7
*
;
&
3RODU FRRUGLQDWHV LQWHUSRODWLRQ PRGH 21
*
*
*
;
,
*
;
0DFKLQLQJ SURJUDP ZLWK SRODU FRRUGLQDWHV LQWHUSROD
*
;
&
WLRQ
*
&
*
;
*
*
;
*
3RODU FRRUGLQDWHV LQWHUSRODWLRQ PRGH 2))
0
Figure 3-11
Coordinate system for polar coordinates interpolation
For further information, see
References:
Function Manual Extended Functions, Chapter TRANSMIT.
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
33
Travel commands
3.2 Reference point approach with G functions
3.2
Reference point approach with G functions
3.2.1
Reference point approach with intermediate point (G28)
Format
G28 X... Z... ;
With the command "G28 X(U)...Z(W)...C(H)...Y(V);" the programmed axes can be traversed on
their reference point. Thus, the programmed axes are first traversed with rapid traverse to the
specified position and from there automatically to the reference point. The axes not
programmed in the block with G28 are not traversed to their reference point.
Reference position
When the machine has been powered up (where incremental position measuring systems are
used), all the axes must approach their reference mark. Only then can traversing movements
be programmed. The reference point can be approached in the NC program with G28. The
reference point coordinates are set with the machine data 34100 $_MA_REFP_SET_POS[0] to
[3]. A total of four reference positions can be defined.
3URJUDPPLQJ H[DPSOH
*
*
*
;
<
=
= D[LV
5HIHUHQFH SRLQW
D IL[HG SRLQW LQ WKH PDFKLQH
'HOD\ RI = D[LV /6
3RVLWLRQLQJ
%
5HWXUQ WR UHIHUHQFH SRLQW
$
,QWHUSRODWLRQ SRLQW DV LQWHUPHGLDWH SRLQW
6WDUW SRLQW
GXULQJ SRVLWLRQLQJ
=
'HOD\ RI < D[LV /6
<
< D[LV
Figure 3-12
Automatic reference point approach
ISO Turning
34
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3.2 Reference point approach with G functions
Note
The G28 function is implemented with the shell cycle cycle328.spf.
Before the reference point approach, a transformation must not be programmed for an axis
which is to approach the reference point with G28. The transformation is deactivated in
cycle328.spf with command TRAFOOF.
3.2.2
Checking the reference position (G27)
Format
G27 X... Y... Z... ;
This function is used to check whether the axes are on their reference point.
Test procedure
If the check with G27 is successful, the processing is continued with the next part program
block. If one of the axes programmed with G27 is not on the reference point, Alarm 61816 "Axes
not on reference point" is triggered and the Automatic mode is interrupted.
Note
Function G27 is implemented with the cycle cycle 328.spf as with G28.
To avoid a positioning error, the function "mirroring" should be deselected before executing
G27.
3.2.3
Reference point approach with reference point selection (G30)
Format
G30 Pn X... Y... Z... ;
For the commands "G30 Pn X... Y... Z;" the axes are positioned on the specified intermediate
point in the continuous-path mode, and finally traversed to the reference point selected with P2
- P4. With "G30 P3 X30. Y50.;", the X- and Y-axes return to the third reference point. The
second reference point is selected on omitting "P". Axes that are not programmed in a G30
block are also not traversed.
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
35
Travel commands
3.2 Reference point approach with G functions
Reference point positions
The positions of all the reference points are always determined in relation to the first reference
point. The distance of the first reference point from all subsequent reference points is set in the
following machine data:
Table 3-5
Reference points
Element
MD
2nd reference point
$_MA_REFP_SET_POS[1]
3rd reference point
$_MA_REFP_SET_POS[2]
4th reference point
$_MA_REFP_SET_POS[3]
Note
Further details of the points that were considered in the programming of G30 can be found in
Section "Reference point approach with intermediate point (G28)". Function G30 is
implemented with cycle 330.spf.
ISO Turning
36
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3.3 Use of the thread cutting function
3.3
Use of the thread cutting function
3.3.1
Thread cutting with constant lead (G33)
Format
With the commands "G33 X (U)... Z (W)... F... ;" the three thread types "Cylindrical thread",
"Transversal thread", "Taper thread" can be prepared as right- or left-hand thread. The thread
lead is defined with F. The end point coordinates are determined with X, Z (absolute) or U, W
(incremental).
G Code System A
G Code System B
G Code System C
G32
G33
G33
;
(QG SRLQW
ˡ
˞
=
ˡ
=
:
6WDUW SRLQW
/ WKUHDG OHDG
Figure 3-13
Thread cutting
Direction of thread lead
In case of taper threads, the direction in which the programmed lead is effective, depends on
the taper angle.
Table 3-6
Direction of thread lead
Direction of thread lead
; =
;
˞
α ≦ 45°
The programmed thread lead acts in the direction of the Z-
axis.
=
α > 45°
The programmed thread lead acts in the direction of the X-
axis.
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
37
Travel commands
3.3 Use of the thread cutting function
Example
*
;
=
)
; = (QG SRLQW
; D[LV
)B 7KUHDG OHDG
(QG SRLQW
5DGLXV D[LV SURJUDPPLQJ
ˡ
;
˞
6WDUW SRLQW
=
ˡ
= D[LV
/
Figure 3-14
Examples of programming
Example of cutting a cylindrical thread (G code system A)
7KUHDG OHDG /
PP
ˡ
PP
ˡ
PP
&XWWLQJ GHSWK SHU VWURNH
PP
*
8
;
*
:
)
*
8
:
8
*
:
*
8
ˡ
ˡ
=
Figure 3-15
Programming example for cutting a cylindrical thread
Example of cutting a taper thread (G code system A)
7KUHDG OHDG /
PP
ˡ
PP
;
ˡ
PP
&XWWLQJ GHSWK SHU VWURNH
PP
*
;
*
;
:
)
*
;
:
š
ˡ
;
š
=
*
;
:
ˡ
*
;
š
ISO Turning
38
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3.3 Use of the thread cutting function
Figure 3-16
Programming example for cutting a taper thread
Precondition:
The technical prerequisite is a speed-controlled spindle with position measuring system
Procedure:
From the programmed spindle speed and the thread lead, the control system calculates the
required feed with which the turning tool is traversed over the thread length in the longitudinal
and/or transverse direction. The feed F is not taken into account for G33, the limitation to
maximum axis velocity (rapid traverse) is monitored by the control system.
3.3.2
Interlinking of threads (G33)
The thread blocks can be arranged one after the other to make a chain via several G33 blocks
programmed one after the other. With continuous-path mode G64, the blocks are linked by the
look-ahead velocity control in such a way that there are no velocity jumps,
3URJUDPPLQJ H[DPSOH
*
;8
=:
)
$
*
;8
=:
%
*
;8
=:
&
$
&
%
$
%
D UHLQIRUFHG SLSH FRXSOLQJ
E ZRUP JHDU
Figure 3-17
Cutting a continuous thread
Note
As long as the thread is not completely cut, the spindle speed should not be changed! If the
spindle speed is not kept constant, then there is a risk of losing the accuracy due to the servo
lag.
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
39
Travel commands
3.3 Use of the thread cutting function
Note
Feed control and feed stop are not taken into account during thread cutting!
If the command G33 is programmed when operating with G94 (feed per minute), an alarm is
given off.
3.3.3
Cutting of multiple-start threads (G33)
The production of multiple-start threads is realized by the specification of start points offset to
each other. The starting point offset is specified as the absolute angle position under the
address Q. The related settings data 42000 ($SD_THREAD_START_ANGLE) is modified
accordingly.
/HDG
Figure 3-18
Double-start thread
Format
With the commands "G33 X (U)... Z (W)... F... Q... ;" the spindle rotates by the angle specified
with the address character Q after the output of the start-point pulse. Thereafter, the thread
cutting starts in the direction of the end points specified with X (U) and Z (W) with the lead
specified with F.
Specification of the address Q while cutting multiple-start threads:
Smallest input increment: 0.001°
Programmed range: 0 ≦ B < 360.000
ISO Turning
40
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3.3 Use of the thread cutting function
Calculation of the start angle in case of multiple-start threads
In general, the start point for the thread cutting is defined with the setting data
$SD_THREAD_START_ANGLE. In case of multiple-start threads, the angular offset is
calculated between the individual start points by dividing 360° by the number of threads.
Examples for multiple-start threads (two-, three- and four-starts) can be seen in the following
figure.
6WDUW SRLQW IRU WKUHDG FXWWLQJ
6WDUW SRLQW IRU WKUHDG FXWWLQJ
6WDUW SRLQW IRU WKUHDG FXWWLQJ
WZR VWDUW WKUHDG
WKUHH VWDUW WKUHDG
TXDGUXSOH WKUHDG
7KUHDG QR 4 FRPPDQG
7KUHDG QR 4 FRPPDQG
7KUHDG QR 4 FRPPDQG
7KUHDG 4
7KUHDG 4
7KUHDG 4
7KUHDG 4
7KUHDG 4
7KUHDG 4
Figure 3-19
Calculation of the start angle in case of multiple-start threads
Programming example for a multiple-start thread (G code system A)
3URJUDPPLQJ H[DPSOH
*
8
*
: )
*
8
:
8
*
:
7KUHDG FXWWLQJ IRU WKUHDG $
*
8
$
%
*
: 4
*
8
:
8
*
: 4
7KUHDG FXWWLQJ IRU
WKUHDG %
Figure 3-20
Specification of the spindle revolution angles
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
41
Travel commands
3.3 Use of the thread cutting function
Note
If no starting point offset is specified (with Q), the "start angle for thread" defined in the setting
data is used.
3.3.4
Cutting of thread with variable lead (G34)
With the commands "G34 X (U)... Z (W)... F... K... ;" threads with a variable lead can be cut; the
thread lead change for each spindle revolution is specified with the address K.
Format
G34 X... Z... F... K... ;
G Code System A
G Code System B
G Code System C
G34
G34
G34
Figure 3-21
Thread with variable thread lead
Feedrate at the end point
The commands are to be given such that the feed at the end point does not have a negative
value!
)
t
.: !
ISO Turning
42
Programming Manual, 06/2019, A5E47432465B AA
Travel commands
3.3 Use of the thread cutting function
Calculation of the thread lead change
If you already know the starting and final lead of a thread, you can calculate the thread lead
change to be programmed according to the following equation:
_N H N D_
)
_*>PP 8@
The identifiers have the following meanings:
Ke: Thread lead of axis target point coordinate in [mm/U]
Ka: Initial thread pitch (progr. under I,J and K) in [mm/U]
IG: Thread length in [mm]
3.3.5
Convex thread with G35 and G36
In ISO dialect T, convex threads are programmed with G codes G35 in the clockwise direction
and G36 in the counter-clockwise direction.
These G codes are available for the G code systems A, B and C. The arc can be programmed
with specification of the circle center point via the circle parameters I, J, K or via specification
of the radius R. Optionally, a thread starting point offset can be specified with Q. If R is
programmed together with I, J, K, only R is effective.
Programming:
X.. Y.. Z.. I.. J.. K.. R.. F.. Q..
X Y Z
End point of the arc
I J K
Coordinates for circle center point programming
R
Radius for radius programming
F
Lead in the direction of the main axis
Q
Thread starting point offset (optional)
Convex threads are described in detail in SINUMERIK 840D sl / 828D Fundamentals
Programming Manual, Section 9 "Motion commands".
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
43
Travel commands
3.3 Use of the thread cutting function
ISO Turning
44
Programming Manual, 06/2019, A5E47432465B AA
Traversing command
4
4.1
The coordinate system
The position of a tool is defined uniquely through its coordinates in the coordinate system.
These coordinates are defined by the axis positions. For instance, if the two axes involved are
named as X and Z, then the coordinates are specified as follows:
X... Z...
; &XUUHQW SRVLWLRQ RI
WKH WRRO WLS
=
=HUR SRLQW
=
Figure 4-1
Tool position specified with X... Z..
The following coordinate systems are used for specifying the coordinates:
1. Machine coordinate system (G53)
2. Workpiece coordinate system (G92)
3. Local coordinate system (G52)
4.1.1
Machine coordinate system (G53)
Define machine coordinate system
The machine coordinate system MKS is defined with the machine zero. All other reference
points refer to the machine zero.
The machine zero is a fixed point of the machine tool, to which all (derived) measuring systems
can be traced back.
This is not necessary, if an absolute measuring system is used.
Format
(G90) G53 X... Z... ;
X, Z: absolute dimension word
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
45
Traversing command
4.1 The coordinate system
Selection of the machine coordinate system (G53)
G53 suppresses non-modal the programmable and the adjustable work offset. Traversing
movements in the machine coordinate system on the basis of G53 are then programmed
always when the tool is to be traversed to a machine-specific position.
Compensation deselection
If MD10760 $MN_G53_TOOLCORR = 0, the active tool length and tool nose radius
compensation remain effective in a block with G53
If $MN_G53_TOOLCORR = 1, the active tool length and the tool radius compensation get
suppressed in a block with G53.
Reference
With MD24004 $MC_CHBFRAME_POWERON_MASK, for bit 0 it is defined, whether the
channel-specific basic frame is reset upon Power On.
4.1.2
Workpiece coordinate system (G92)
Before machining a coordinate system for the workpiece, the so-called workpiece coordinate
system is to be created. This section describes different methods for setting, selecting and
changing a workpiece coordinate system.
Setting a workpiece coordinate system
For setting a workpiece coordinate system, the following two methods can be used:
1. with G92 (G50 in the G code system A)
2. manually via the HMI operator panel
Format
G92 (G50) X... Z... ;
Explanation
With G92 a coordinate transformation is programmed from the basic coordinate system (BCS)
into basic zero-point system (BZS). G92 acts like a adjustable work offset.
4.1.3
Resetting the tool coordinate system (G92.1)
With G92.1 X.. (G Code System A with G50.3 P0) one can reset a shifted coordinate system
before the shift. The tool coordinate system is reset to the coordinate system that is defined by
the active adjustable work offsets (G54-G59). The tool coordinate system is set to the reference
ISO Turning
46
Programming Manual, 06/2019, A5E47432465B AA
Traversing command
4.1 The coordinate system
position if no adjustable work offset is active. G92.1 resets shifts carried out through G92 or
G52. However, only the axes that are programmed, are reset.
Example 1:
N10 G0 X100 Y100
;Display: WCS: X100 Y100
MCS: X100 Y100
N20 G92 X10 Y10
;Display: WCS: X10 Y10
MCS: X100 Y100
N30 G0 X50 Y50
;Display: WCS: X50 Y50
MCS: X140 Y140
N40 G92.1 X0 Y0
;Display: WCS: X140 Y140
MCS: X140 Y140
Example 2:
N10 G10 L2 P1 X10 Y10
N20 G0 X100 Y100
;Display: WCS: X100 Y100
MCS: X100 Y100
N30 G54 X100 Y100
;Display: WCS: X100 Y100
MCS: X110 Y110
N40 G92 X50 Y50
;Display: WCS: X50 Y50
MCS: X110 Y110
N50 G0 X100 Y100
;Display: WCS: X100 Y100
MCS: X160 Y160
N60 G92.1 X0 Y0
;Display: WCS: X150 Y150
MCS: X160 Y160
4.1.4
Selection of a workpiece coordinate system
As mentioned above, the user can select one of the already set workpiece coordinate systems.
1. G92
Absolute commands function in connection with a workpiece coordinate system only if a
workpiece coordinate system was selected earlier.
2. Selection of a workpiece coordinate system from a selection of specified workpiece
coordinate systems via the HMI operator panel
A workpiece coordinate system can be selected by specifying a G function in the area G54
to G59 and G54 P{1...100}.
Workpiece coordinate systems are setup after the reference point approach after Power On.
The closed position of the coordinate system is G54.
4.1.5
Writing work offset/tool offsets (G10)
The workpiece coordinate systems defined through G54 to G59 or G54 P{1 ... 93} can be
changed with the following two processes.
1. Data inputting at HMI operator panel
2. with the program commands G10 or G92 (setting actual value, spindle speed limitation)
Format
Modified by G10:
G10 L2 Pp X... Y... Z... ;
p=0:
External workpiece work offset
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
47
Traversing command
4.1 The coordinate system
p=1 to 6:
The value of the workpiece work offset corresponds to the workpiece coor-
dinate system G54 to G59 (1 = G54 to 6 = G59)
X, Y, Z:
Workpiece work offset for each axis during an absolute command (G90).
Value that must be added during an incremental command (G91) for each
axis to the specified workpiece work offset.
G10 L20 Pp X... Y... Z... ;
p=1 to 93:
The value of the workpiece work offset corresponds to the workpiece coor-
dinate system G54 P1 ... P93. The number of work offsets (1 to 93) can be set
through MD18601 $MN_MM_NUM_GLOBAL_USER_FRAMES or MD28080
$MC_MM_NUM_USER_FRAMES.
X, Y, Z:
Workpiece work offset for each axis during an absolute command (G90).
Value that must be added during an incremental command (G91) for each
axis to the specified workpiece work offset.
Modified by G92:
G92 X... Y... Z... ;
Explanations
Modified by G10:
G10 can be used to change each workpiece coordinate system individually. If the work offset
with G10 is to be written only when the G10 block is executed on the machine (main run block),
then MD20734 $MC_EXTERN_FUNCTION_MASK, Bit 13 must be set. An internal STPPRE is
executed in that case with G10. The machine data bits affect all G10 commands in the ISO
Dialect T and ISO Dialect M.
Modified by G92:
By specifying G92 X... Y... Z..., a workpiece coordinate system that was selected earlier with a
G command G54 to G59 or G54 P{1 ...93}, can be shifted and thus a new workpiece coordinate
system can be set. If X, Y and Z are programmed incrementally, the workpiece coordinate
system is defined in such a way that the current tool position matches the total of the specified
incremental value and the coordinates of the previous tool position (shift of coordinate system).
Finally, the value of the coordinate system shift is added to each individual value of the
workpiece work offset. To put it another way: All workpiece coordinate systems are shifted
systematically by the same value.
ISO Turning
48
Programming Manual, 06/2019, A5E47432465B AA
Traversing command
4.1 The coordinate system
Example
The tool in operation with G54 is positioned at (190, 150), and the workpiece coordinate system
1 (X' - Y') is created each time in G92X90Y90 with a shift of Vector A.
<
<ಫ
* :RUNSLHFH FRRUGLQDWH V\VWHP
7RRO SRVLWLRQ
;ಫ
$
;
Figure 4-2
Example of setting coordinates
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
49
Traversing command
4.2 Defining the input modes for the coordinate values
4.2
Defining the input modes for the coordinate values
4.2.1
Absolute/incremental dimensioning (G90, G91)
With these G commands it is specified, whether the dimensions are entered as absolute or
incremental after an axis address.
G command
Function
G group
G90
Absolute dimension
03
G91
Incremental dimension
03
The values programmed with the addresses X, Z, C, Y, U, W, H or V are interpreted in the G
code system B and C, depending upon G90 or G91, either as absolute or incremental positions.
The G functions G90 and G91 are not present in the G code system A. In this G code system
the absolute axis positions are programmed with the addresses X, Y, Z, C and the incremental
positions with U, V, W and H.
Command format for the G code system A
● Absolute axis positions
Absolute axis positions are programmed with the addresses X, Z and C.
Example: X10 Z100. C20 ;
● Incremental axis positions
Incremental axis positions are programmed with the addresses U, W and H
Example: U5 W3.9 H4 ;
● Incremental and absolute axis positions may be programmed mixed in the same block.
Example: X10 W3 ;
U5 Z100 ;
It is permissible to use the incremental and the absolute values in the one and the same
block.
Example: X... W... ;
U... Z... ;
If the addresses that act on the same axis are programmed several times in the block, then
the value last programmed, e.g. in the shape "X100 U15 ;" is effective, the X-axis is
traversed incrementally by 15 mm, the position is skipped with X100.
Table 4-1
Absolute/incremental dimensioning and its importance
Address
Command value
Meaning (description)
X
absolute
Diameter value
Position in the direction of X-axis
Z
-
Position in the direction of Z-axis
C
-
Position in the direction of C-axis
Y
-
Position in the direction of Y-axis
U
incremental value
Diameter value
Traversing path in the direction of X-axis
W
-
Position in the direction of Z-axis
H
-
Traversing path in the direction of C-axis
V
-
Traversing path in the direction of Y-axis
ISO Turning
50
Programming Manual, 06/2019, A5E47432465B AA
Traversing command
4.2 Defining the input modes for the coordinate values
Address
Command value
Meaning (description)
I
incremental value
Radius value
Distance of the start point to the center
point of the arc in the X-axis
K
-
Distance of the start point to the center
point of the arc in the Z-axis
J
-
Distance of the start point to the center
point of the arc in the Y-axis
R
incremental value
-
Radius of arc
Since the addresses X and U are programmed for the diameter value, the actual axis
movement corresponds to half of the specified values.
3URJU )UDPH *
=2
3B%)5$0( * VFDOH
$GMXVWDEOH )UDPH *
*
=2
3B8,)5 *
3
=2
&KDQQHO VSHFLILF EDVLF IUDPH
3B&+%)5$0(> @ *
'5RW
3B&+%))5$0(> @ *
'5RW '5RW
3B&+%)5$0(> @ *
0LUURU LPDJH DW SURJU $[LV
3B&+%)5$0(> @ * 6HW DFWXDO YDOXH
3B&+%)5$0(> @ =2 H[W2IIVHW 19
Figure 4-3
Absolute and incremental coordinate values
Use of G90 and G91 (G code system B and C)
Table 4-2
Mode of operation of the commands G90 and G91
G function
Function
G group
G90
Absolute dimension
03
G91
Incremental dimensioning
03
ISO Turning
Programming Manual, 06/2019, A5E47432465B AA
51
Traversing command
4.2 Defining the input modes for the coordinate values
Table 4-3
Valid addresses for the programming of G90/G91
Address
Command G90
Command G91
absolute
Incremental
Example:
With the commands "G91 G00 X40. Z50.;" the axis positions are traversed incrementally.
Circular interpolations parameter
Circular interpolation parameters I, J, K and the radius R are always interpreted as incremental
values.
Note
G90 and G91 should not be programmed together in one block; else, only the G function
programmed last becomes effective. Thus assumed, if the commands "G01 G90 X80. G91
Z60.;" are programmed in a block, then G91 becomes effective, because it has been
programmed last, and all axis positions (X80. and Z60.) are interpreted as incremental paths.
4.2.2
Diameter and radius programming for the X-axis
The address X or U is used for programming the commands for the X-axis:
If the X-axis is defined as transverse axis with the machine data 20110
$MC_DIAMETER_AX_DEF = "X" and diameter programming (= Siemens G-code DIAMON) is
activated with MD20150 $MC_GCODE_RESET_VALUES[28] = 2, then the programmed axis
positions are interpreted as diameter values.
;
;
8
;
;
;
;
=
=
D 'LDPHWHU SURJUDPPLQJ
E 5DGLXV SURJUDPPLQJ
Figure 4-4
Coordinate values
The diameter values apply for the following data:
● Actual value display of the transverse axis in the workpiece coordinate system
● JOG mode: Increments for incremental dimensions and handwheel travel
● Programming of end positions
ISO Turning
52
Programming Manual, 06/2019, A5E47432465B AA

 

 

 

 

 

 

 

Content      ..     7      8      9      10     ..