Software CNC software, Version 2.7 SINUMERIK
Operate for PCU/PC Version 2.7
02/2011
6FC5398-4BP40-0BA0
Legal information
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the relevant information is not taken into account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Industry Sector
Postfach 48 48
90026 NÜRNBERG
GERMANY
You can find information on SINUMERIK under the following link:
www.siemens.com/sinumerik
Target group
This programming manual is intended for machine tool programmers for the SINUMERIK
Operate software.
Benefits
With the programming manual, the target group can develop, write, test, and debug
programs and software user interfaces.
Standard scope
This documentation only describes the functionality of the standard version. Additions or
revisions made by the machine manufacturer are documented by the machine manufacturer.
Other functions not described in this documentation might be executable in the control. This
does not, however, represent an obligation to supply such functions with a new control or
when servicing.
For the sake of simplicity, this documentation does not contain all detailed information about
all types of the product and cannot cover every conceivable case of installation, operation, or
maintenance.
Technical Support
You will find telephone numbers for other countries for technical support in the Internet under
http://www.siemens.com/automation/service&support
s and GUD modules ........................................................269
B Appendix................................................................................................................................................ 271
Measuring cycles are general subroutines designed to solve specific measurement tasks.
They can be adapted to specific problems via parameter settings.
When taking general measurements, a distinction is made between
● Tool measurement and
● Workpiece measurement.
Workpiece measurement
;
1
)
=
<
:
:
Workpiece measurement, turning example
In workpiece measurement, a probe is moved up to the clamped workpiece in the same way
as a tool and the measured values are acquired. The flexibility of measuring cycles makes it
possible to perform nearly all measurements required on a milling or turning machine.
The result of the workpiece measurement can be optionally used as follows:
In tool measurement, the selected tool is moved up to the probe and the measured values
are acquired. The probe is either in a fixed position or is swung into the working area with a
mechanism. The tool geometry measured is entered in the appropriate tool offset data set.
Measuring cycles
10Programming Manual, 02/2011, 6FC5398-4BP40-0BA0
Description
1.2 General prerequisites
1.2 General prerequisites
Certain preconditions must be met before measuring cycles can be used. These are
described in detail in the
Check the preconditions using the following checklist:
● Machine
– All machine axes are designed in accordance with DIN 66217.
– Machine data has been adapted.
● Starting position
– The reference points have been approached.
– The starting position can be reached by linear interpolation without collision.
● Display functions of the measuring cycles
A HMI/PCU or HMI/TCU is required for showing the measuring result displays and for
measuring cycle support.
● Please observe the following when programming:
SINUMERIK 840D sl Base Software and Operating Software
.
References
– Tool radius compensation is deselected before it is called (G40).
– The cycle is called no later than at the 5th program level.
– The measurement is also possible in a system of units that differs from the basic
system (with technology data that has been switched over).
For metric dimension system with active G70, G700.
For inch dimension system with active G71, G710.
Supplementary information for this documentation is provided in the following manuals:
● Commissioning Manual
– /IM9/ SINUMERIK Operate
● /PG/, Programming Manual
● /FB1/, Function Manual
● /FB2/, Function Manual
● /FB3/, Function Manual
SINUMERIK 840D sl Base Software and Operating Software
1.3 Behavior on block search, dry run, program testing, simulation
1.3 Behavior on block search, dry run, program testing, simulation
Function
The measuring cycles are skipped during execution if one of the following execution modes
is active:
"Trial run"
($P_DRYRUN=1)
Simulation
"Program test"
"Block search"
The simulation of the measuring cycles is realized in the user interface (HMI) in the "Program
Editor" area.
Following settings are possible in the channel-specific setting data SD 55618:
● SD 55618 $SCS_MEA_SIM_ENABLE = 0
The measuring cycle is skipped, the HMI simulation shows no path motion of the probe.
● SD 55618 $SCS_MEA_SIM_ENABLE = 1
The measuring cycle is executed, the HMI simulation shows the corresponding path
motion of the probe.
No measurements, tool or work offsets are made.
Actived functions such as "measuring result display" or "travel with collision monitoring"
are not implemented.
($P_ISTEST=1)
($P_SEARCH=1), only if $A_PROTO=0.
Measuring cycles
12Programming Manual, 02/2011, 6FC5398-4BP40-0BA0
Description
1.4 Reference points on the machine and workpiece
1.4 Reference points on the machine and workpiece
General information
Depending on the measuring task, measured values may be required in the machine
coordinate system (MCS) or in the workpiece coordinate system (WCS).
For example: It may be easier to ascertain the tool length in the machine coordinate system.
Workpiece dimensions are measured in the workpiece coordinate system.
Where:
● M = machine zero in the machine coordinate system
● W = workpiece zero in the workpiece coordinate system
● F = Tool reference point
Reference points
;
0
6SLQGOH
FKXFN
:RUNSLHFH
:2LQ=
/
)
/
;
:
==
=
0
=
<
:
<
;
)
/
;
The position of tool reference point F in the machine coordinate system is defined with
machine zero M as the machine actual value.
The position of the tip/cutting edge of the active tool in the workpiece coordinate system is
displayed with the workpiece zero W as workpiece actual value. For a workpiece probe, the
center or the end of the probe ball can be defined as the tool tip.
The work offset (WO) characterizes the position of the workpiece zero W in the machine
coordinate system.
Work offsets (WO) comprise the components offset, rotation, mirroring and scaling factor
(only the global basis work offset does not contain any rotation).
A distinction is made between the basis, work offset (G54 ... G599) and programmable work
offset. The basic area contains further subsections – such as the basic work offset, channelspecific basic work offset and configuration-dependent work offsets (e.g. rotary table
reference or basic reference).
The specified work offsets are effective together as chain and result in the workpiece
coordinate system.
Note
Scale factors with a scaling value unequal to "1" are not supported by the measuring cycles!
Mirroring functions are only permitted in conjunction with counterspindles on lathes.
The machine and workpiece coordinate system can be set and programmed separately in
the "inch" or "metric" system of units (G70/G71).
Note
Transformation
Measure workpiece
Workpiece measurements are always performed in the workpiece coordinate system. All
descriptions relating to workpiece measurement refer to it!
Measure tool
When measuring tools with kinematic transformation active, a distinction is made
between basic coordinate system and machine coordinate system.
If kinematic transformation is deactivated, this distinction is made.
All subsequent descriptions relating to tool measurement assume that kinematic
transformation is disabled and therefore refer to the machine coordinate system.
Measuring cycles
14Programming Manual, 02/2011, 6FC5398-4BP40-0BA0
Description
1.5 Definition of the planes, tool types
1.5 Definition of the planes, tool types
When measuring under milling, machining planes G17, G18 or G19 can be selected.
When measuring under turning, machining plane G18 must be selected.
For tool measurement, the following tool types are permitted:
● Milling, type 1..
● Drill, type 2 ...
● Turning tools, type 5 ...
Depending on the tool type, the tool lengths are assigned to the axes as follows:
Acts in ... G17 plane G18 plane G19 plane
Tool type: 1xy / 2xy / 710
Length 1 1. Axis of the plane: Z Y X
Length 2 2. Axis of the plane: Y X Z
Length 3 3. Axis of the plane: X Z Y
Lengths 2 and 3 are used in special cases, for example, if an angle head is attached.
Turning machines generally only use axes Z and X and therefore:
G18 plane
Tool type 5xy (turning tool, workpiece probe)
Length 1 Acts in X (2nd axis of the plane)
Length 2 Acts in Z (1st axis of the plane)
Measuring cycles
16Programming Manual, 02/2011, 6FC5398-4BP40-0BA0
Description
1.5 Definition of the planes, tool types
G17 and G19 are used for milling on a turning machine. If there is no machine axis Y, milling
can be implemented with the following kinematic transformations.
● TRANSMIT
● TRACYL
In principle, measuring cycles support kinematic transformations. This is stated more clearly
in the individual cycles, measuring variants. Information about kinematic transformation can
be found in the Programming Manual
SINUMERIK 840D sl / 828D Fundamentals
or in the
documentation of the machine manufacturer.
Note
If a drill or milling cutter is measured on a lathe, in most cases, the channel-specific SD
42950 $SC_TOOL_LENGTH_TYPE = 2 is set: These tools are then length-compensated like
a turning tool.
SINUMERIK controls have other machine and setting data that can influence calculation of a
tool.
References:
● /FB1/, Function Manual
● /FB2/, Function Manual
● /FB3/, Function Manual
Example of plane definition for turning
;
Figure 1-2 Example: Lathe with G18
Basic Functions
Expanded Functions
Special Functions
To measure tool and workpiece dimensions, an electronic touch-trigger probe is required
that provides a signal change (edge) when deflected with the required repeat accuracy.
The probe must operate virtually bounce-free.
Different types of probe are offered by different manufacturers.
Note
Please observe the information provided by the manufacturers of electronic probes and/or
the machine manufacturer's instructions on the following points:
Electrical connection
Mechanical calibration of the probe
If a workpiece probe is used, both the direction of deflection and transmission of
switching signal to the machine column (radio, infrared light or cable) must be taken into
account. In some versions, transmission is only possible in particular spindle positions or
in particular ranges. This can restrict the use of the probe.
Probes are distinguished according to the number of measuring directions.
The probes also differ in the form of the stylus tip:
the measuring cycles support pin, L and star probes as autonomous tool types. The use of
the probe types is referenced in the individual measuring cycles. The multi probe is
universally applicable.
The use of probes requires a spindle that can be positioned. For a mono probe, the
switching direction is tracked for each measurement by turning the spindle. This can lead to
a longer program runtime.
Measuring cycles
18Programming Manual, 02/2011, 6FC5398-4BP40-0BA0
Description
1.6 Probes that can be used
Workpiece probe types
The following probe types are provided in the tool management for measuring with
workpiece probes:
Figure 1-3 Probe types in the tool management
There is a calibration tool to calibrate tool probes (type 725) = cylindrical pin
Tool data from probes
The probes differ as a result of the tool type and the switching directions in tool parameter
$TC_DP25[ ] bit16 to bit 25. The switching directions are permanently coded when creating
the tool.
In the application, the probe can encompass several of the following tool types. In this case,
several cutting edges should be created for the probe (D1, D2, etc. ).
Example: Multi probe with a boom
D1 3D_PROBE Type 710
D2 L_PROBE Type 713
The user must take into account the geometry of the probe when pre-positioning. To do this,
you can read out individual tool data in the user program:
Example:
IF (($P_TOOLNO>0) AND ($P_TOOL>0))
R1= ($P_AD[6] ;Read tool radius of the actual tool
ENDIF
The probe is aligned in the + X direction using parameter offset angle.
Radius in the plane
(diameter of the star parallel to the axis):
Radius of the probe ball in the tool
$TC_DP6[ ]
$TC_DP7[ ]
direction:
1)
The applications only refer to measurements in the plane (for G17 XY). Measurement in the tool
direction is not permitted using a star probe. If a measurement is to be made in the tool direction, a
star element (boom) must be declared as an L probe.
The tool length is the reference point of the tool holder with the equator of one of the probe
balls.
1)
Assignment of the probe types
Probe type Lathes Milling and machining centers
Tool measurement Workpiece measurement Workpiece measurement
Multidirectional X X X
Monodirectional -- -- X
1.7.1 Measuring workpieces on milling machines, machining centers
Probe calibration
All probes must be mechanically correctly adjusted before use. The switching directions
must be calibrated before they are used in the measuring cycles for first-time. This also
applies when changing the stylus tip of the probe.
When being calibrated, the trigger points (switching points), position deviation (skew), and
active ball radius of the workpiece probe are determined and entered into the data fields of
the general setting data SD 54600 $SNS_MEA_WP_BALL_DIAM . There are 12 data fields.
Calibration can be realized in a calibration ring (known bore), on a calibration ball or on
workpiece surfaces, which have an appropriate geometrical precision and low surface
roughness.
Use the same measuring velocity for calibrating and measuring. This applies in particular to
the feedrate overide.
See also
Measuring cycle CYCLE976 with different measuring versions is available to calibrate the
probe.
Calibrate probe - length (CYCLE976) (Page 83)
Calibrate probe - radius in ring (CYCLE976) (Page 86)
Calibrate probe - radius on edge (CYCLE976) (Page 90)
Calibrate probe - calibrate on ball (CYCLE976
) (Page 93)
Measuring cycles
22Programming Manual, 02/2011, 6FC5398-4BP40-0BA0
Description
1.7 Probe, calibration body, calibration tool
1.7.2 Measuring tools on milling machines, machining centers
Tool probe
=
<
;
Figure 1-4 Measuring a milling cutter
Tool probes have their own data fields in the general setting data:
● For machine-related measurement/calibration:
– SD 54625 $SNS_MEA_TP_TRIG_MINUS_DIR_AX1
– SD 54626 $SNS_MEA_TP_TRIG_PLUS_DIR_AX1
– SD 54627 $SNS_MEA_TP_TRIG_MINUS_DIR_AX2
– SD 54628 $SNS_MEA_TP_TRIG_PLUS_DIR_AX2
● For workpiece-related measurement/calibration:
– SD 54640 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX1
– SD 54641 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX1
– SD 54642 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX2
– SD 54643 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX2
The triggering points (switching points), upper disk diameter and edge length are entered
here.
Approximate values must be entered here before calibration – if cycles are used in automatic
mode. The cycle will then recognize the position of the probe.
The default setting has data fields for three probes. Up to 99 are possible.
A probe must be calibrated before it can be used. Calibration involves precisely determining
the triggering points (switching points) of the tool probe and entering them in special data
fields.
Calibration is performed with a calibration tool. The precise dimensions of the tool are
known.
Use the same measuring velocity for calibrating and measuring.
Measurement version Calibrate probe (CYCLE971) (Page 202) is ready for calibration.
Entry in tool memory Calibrating tool probes
Tool type ($TC_DP1[ ]): 1xy
Length 1 - geometry
The wear and other tool parameters must be assigned the value 0.
7RROSUREH
Measuring cycles
24Programming Manual, 02/2011, 6FC5398-4BP40-0BA0
Description
1.7 Probe, calibration body, calibration tool
1.7.3 Measuring workpieces at the turning machines
Workpiece probe
On turning machines, the workpiece probes are treated as tool type 5xy with permissible
cutting edge positions (SL) 5 to 8 and must be entered in the tool memory accordingly.
Lengths specified for turning tools always refer to the tool tip, except in the case of
workpiece probes on turning machines where they refer to the probe center.
Probes are classified according to their position:
Workpiece probe SL 7
Entry in tool memory Workpiece probe for a lathe
Tool type ($TC_DP1[ ]): 5xy
Cutting edge ($TC_DP2[ ]): 7
Length 1 - geometry: L1
Length 2 - geometry: L2
Radius ($TC_DP6[ ]): r
Length 1 - basic dimension
($TC_DP21[ ]):
Length 2 - basic dimension
($TC_DP22[ ]):
only if required
only if required
/
U
/
;
)
=
The wear and other tool parameters must be assigned the value 0.
Workpiece probe SL 8
Entry in tool memory Workpiece probe for a lathe
Tool type ($TC_DP1[ ]): 5xy
Cutting edge ($TC_DP2[ ]): 8
Length 1 - geometry: L1
Length 2 - geometry: L2
Radius ($TC_DP6[ ]): r
Length 1 - basic dimension
($TC_DP21[ ]):
Length 2 - basic dimension
($TC_DP22[ ]):
only if required
only if required
;
/
U
=
The wear and other tool parameters must be assigned the value 0.
The wear and other tool parameters must be assigned the value 0.
Measuring cycles
26Programming Manual, 02/2011, 6FC5398-4BP40-0BA0
Description
1.7 Probe, calibration body, calibration tool
Calibration, gauging block
;
0
)
;
==
:
Figure 1-5 Calibrating a workpiece probe, example: Calibrating in the reference groove
A probe must be calibrated before it can be used. When being calibrated, the trigger points
(switching points), position deviation (skew), and precise ball radius of the workpiece probe
are determined and entered into the corresponding data fields of the general setting data
SD 54600 $SNS_MEA_WP_BALL_DIAM .
The default setting has data fields for 12 probes.
Calibration of the workpiece probe on turning machines is usually performed with gauging
blocks (reference grooves). The precise dimensions of the reference groove are known and
entered in the associated data fields of the following general setting data:
● SD54615 $SNS_MEA_CAL_EDGE_BASE_AX1
● SD54616 $SNS_MEA_CAL_EDGE_UPPER_AX1
● SD54617 $SNS_MEA_CAL_EDGE_PLUS_DIR_AX1
● SD54618 $SNS_MEA_CAL_EDGE_MINUS_DIR_AX1
● SD54619 $SNS_MEA_CAL_EDGE_BASE_AX2
● SD54620 $SNS_MEA_CAL_EDGE_UPPER_AX2
● SD54621 $SNS_MEA_CAL_EDGE_PLUS_DIR_AX2
● SD54622 $SNS_MEA_CAL_EDGE_MINUS_DIR_AX2
The default setting has data fields for three gauging blocks. In the measuring cycle program,
the selection is made using the number of the gauging block (S_CALNUM).
It is also possible to calibrate on a known surface.
Measuring cycle CYCLE973 with various measuring versions is ready for calibration.
See also
Calibrate probe - length (CYCLE973) (Page 57)
Calibrate probe - radius on surface (CYCLE973) (Page 60)
Calibrate probe - calibrate in groove (CYCLE973) (Page 63)
Tool probes have their own data fields in the general setting data:
● For machine-related measurement/calibration:
– SD 54626 $SNS_MEA_TP_TRIG_PLUS_DIR_AX1
– SD 54625 $SNS_MEA_TP_TRIG_MINUS_DIR_AX1
– SD 54627 $SNS_MEA_TP_TRIG_MINUS_DIR_AX2
– SD 54628 $SNS_MEA_TP_TRIG_PLUS_DIR_AX2
● For workpiece-related measurement/calibration:
– SD 54641 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX1
– SD 54640 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX1
– SD 54642 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX2
– SD 54643 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX2
The triggering points (switching points) are entered here. Approximate values must be
entered here before calibration – if cycles are used in automatic mode. The cycle will then
recognize the position of the probe.
The default setting has data fields for 6 probes.
In addition to turning tools, drills and mills can also be measured.
Measuring cycles
28Programming Manual, 02/2011, 6FC5398-4BP40-0BA0
Description
1.7 Probe, calibration body, calibration tool
Calibration, gauging block
;
=
&DOLEUDWLRQWRRO
A probe must be calibrated before it can be used. Calibration involves precisely determining
the triggering points (switching points) of the tool probe and entering them in special data
fields.
Calibration is performed with a calibration tool. The precise dimensions of the tool are
known.
Measurement version Calibrate probe (CYCLE982) (Page 178) is ready for calibration.
For lathe
s, the calibration tool is treated like a turning tool with cutting edge position 3. The
lengths refer to the ball circumference, not to the ball center.
Entry in tool memory Calibration tool for a tool probe on a lathe
Tool type ($TC_DP1[ ]): 5xy
Cutting edge ($TC_DP2[ ]): 3
Length 1 - geometry: L1
Length 2 - geometry: L2
Radius ($TC_DP6[ ]): r
Length 1 - basic dimension
($TC_DP21[ ]):
Length 2 - basic dimension
($TC_DP22[ ]):
only if required
only if required
U
/
;
/
)
The wear and other tool parameters must be assigned the value 0.
The principle of "flying measurement" is implemented in the SINUMERIK control. The probe
signal is processed directly on the NC so that the delay when acquiring measured values is
minimal. This permits a higher measuring speed for the prescribed measuring precision and
time needed for measuring is reduced.
Connecting probes
Two inputs for connecting touch trigger probes are provided on the I/O device interface of
the SINUMERIK control systems.
'HOHWH
GLVWDQFHWR
JR
$FWXDOYDOXHDFTXLVLWLRQ
3RVLWLRQFRQWURO
$FWXDO
YDOXH
Machine manufacturer
Please observe the machine manufacturer’s instructions.
Measuring cycles
30Programming Manual, 02/2011, 6FC5398-4BP40-0BA0
Loading...
+ 250 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.