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

 

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

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     2      3      4      5     ..

 

 

 

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

 

 

Measuring variants
3.3 Measure workpiece (milling)
Parameter
ShopTurn program
Parameter
Description
Unit
T
Name of the probe
-
D
Cutting edge number (1 - 9)
-
Calibration data set (1 - 40), input of variables possible1)
-
X
Start point X of the measurement
mm
Y
Start point Y of the measurement
mm
Z
Start point Z of the measurement
mm
1)
The variable name must not be empty.
List of the result parameters
The measuring variant "3 spheres" provides the following result parameters:
Table 3-28
"3 spheres" result parameters
Parameters
Description
Unit
_OVR[0]
Sphere diameter setpoint of 1st sphere
mm
_OVR[1]
Center point coordinate setpoint in the 1st axis of the plane of 1st sphere
mm
_OVR[2]
Center point coordinate setpoint in the 2nd axis of the plane of 1st sphere
mm
_OVR[3]
Center point coordinate setpoint in the 3rd axis of the plane of 1st sphere
mm
_OVR[4]
Sphere diameter actual value of 1st sphere
mm
_OVR[5]
Center point coordinate actual value in the 1st axis of the plane of 1st sphere
mm
_OVR[6]
Center point coordinate actual value in the 2nd axis of the plane of 1st
mm
sphere
_OVR[7]
Center point coordinate actual value in the 3rd axis of the plane of 1st
mm
sphere
_OVR[8]
Sphere diameter difference of 1st sphere
mm
_OVR[9]
Center point coordinate difference in the 1st axis of the plane of 1st sphere
mm
_OVR[10]
Center point coordinate difference in the 2nd axis of the plane of 1st sphere
mm
_OVR[11]
Center point coordinate difference in the 3rd axis of the plane of 1st sphere
mm
_OVR[12]
Sphere diameter actual value of 2nd sphere
mm
_OVR[13]
Center point coordinate actual value in the 1st axis of the plane of 2nd
mm
sphere
_OVR[14]
Center point coordinate actual value in the 2nd axis of the plane of 2nd
mm
sphere
_OVR[15]
Center point coordinate actual value in the 3rd axis of the plane of 2nd
mm
sphere
_OVR[16]
Sphere diameter difference of 2nd sphere
mm
_OVR[17]
Center point coordinate difference in the 1st axis of the plane of 2nd sphere
mm
_OVR[18]
Center point coordinate difference in the 2nd axis of the plane of 2nd sphere
mm
_OVR[19]
Center point coordinate difference in the 3rd axis of the plane of 2nd sphere
mm
_OVR[20]
Sphere diameter actual value of 3rd sphere
mm
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
219
Measuring variants
3.3 Measure workpiece (milling)
Parameters
Description
Unit
_OVR[21]
Center point coordinate actual value in the 1st axis of the plane of 3rd
mm
sphere
_OVR[22]
Center point coordinate actual value in the 2nd axis of the plane of 3rd
mm
sphere
_OVR[23]
Center point coordinate actual value in the 3rd axis of the plane of 3rd
mm
sphere
_OVR[24]
Sphere diameter difference of 3rd sphere
mm
_OVR[25]
Center point coordinate difference in the 1st axis of the plane of 3rd sphere
mm
_OVR[26]
Center point coordinate difference in the 2nd axis of the plane of 3rd sphere
mm
_OVR[27]
Center point coordinate difference in the 3rd axis of the plane of 3rd sphere
mm
_OVR[28]
Safe area
mm
_OVI[0]
WO number
-
_OVI[2]
Measuring cycle number
-
_OVI[5]
Probe number
-
_OVI[9]
Alarm number
-
_OVI[11]
Status offset request
-
_OVI[12]
Supplementary error data for alarm, internal measurement evaluation
-
3.3.22
3D - angular deviation spindle (CYCLE995)
Function
With this measuring method the angularity of a spindle to the machine tool is measured on a
calibration ball. The measurement is carried out by combining the measuring methods "sphere"
(CYCLE997) and "outer circle segment" (CYCLE979).
Based on the measured values, the angular deviation of the spindle to the axis of the plane is
calculated.
With the measured angular deviations, the spindle can be mechanically aligned parallel to the
tool axis or the corresponding tables for sag compensation can be updated.
If there are rotary axes, the determined angular data can be used to align the rotary axis. To do
this, the result parameter (_OVR) of CYCLE995 must be used.
Measuring principle
The 1st measurement of the calibration ball is performed with CYCLE997 and measurement is
repeated. The starting angle can be freely selected. The incremental angle between the
measuring points should be set to 90 degrees. From two measuring points along the
circumference and one measuring point at the "north pole" of the sphere (highest point), the
center point (position of the ball) is determined. In addition, the diameter of the calibration ball
can be determined.
The 2nd measurement is performed with CYCLE979 at the shank of the probe at a distance of
DZ. The starting angle and the incremental angle are taken from the 1st measurement. The
Measuring cycles
220
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
measuring path and the safe area are also from the 1st measurement times a factor of 1.5. The
center point of the probe shaft in the plane is determined.
For both measurements, the switching direction of the probe is corrected for each individual
measurement.
The angular deviation in XY is calculated from the results of the two center points in XY and the
distance between the two measurements in Z (for G17).
The tolerance parameter of the angular values is optionally checked (dimensional tolerance
"yes").
Note:
The cycle CYCLE995 is based on the Renishaw AxiSet TM method based on the patent application,
WO 2007068912 A1.
It is recommended to use the Renishaw probe with maximum accuracy for the application of the
CYCLE995.
Measure: Angular displacement of spindle
Measure: Angular displacement of spindle
(CYCLE995), 1st measurement
(CYCLE995), 2nd measurement
Requirements
• The precision of the calibration ball should be better than 0.001 mm.
• An electronic program is loaded into the spindle with the longest possible stylus tip
(>100 mm).
• The probe shaft should have a good surface quality (e.g. ground steel shaft).
Starting position before the measurement
Before the cycle is called, the probe must be positioned at the distance of the measuring path
(DFA) above the mounted calibration ball (North Pole) so that this can be approached without
any collisions at the circumference (equator).
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
221
Measuring variants
3.3 Measure workpiece (milling)
Position after the end of the measuring cycle
The probe is located after the measuring cycle at the start position. In the probe direction (for
G17 Z), the probe is at the distance of the measuring path (DFA) above the north pole.
Procedure
The part program to be processed has been created and you are in the editor.
1. Press the "Meas. workpiece" softkey.
2. Press the "3D" softkey.
3. Press the "Spindle angular displacement" softkey.
The input window "Measure: Spindle angular deviation" opens.
Parameter
G code program
Parameter
Description
Unit
PL
Measuring plane (G17 - G19)
-
Calibration data set (1 - 40), input of variables possible1)
-
Det. sphere di-
Determining the sphere diameter
-
am.
• No
• Yes
∅
Sphere diameter
mm
α0
Contact angle
Degrees
DZ
Depth infeed for 2nd measurement
mm
DFA
Measurement path
mm
TSA
Safe area for the measurement result
mm
Dimensional tol-
Use dimensional tolerance
-
erance
• Yes
• No
TUL
Upper tolerance limit of the angular deviation (only for dimensional tolerance "Yes")
Degrees
1)
The variable name must not be empty.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
Measuring cycles
222
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
List of the result parameters
The measuring variant "machine geometry" provides the following result parameters:
Table 3-29
Result parameter "Machine geometry" (CYCLE995)
Parameters
Description
Unit
_OVR [2]
Actual angle between X and Z
Degrees
(X = 1st axis of the plane for G17, Z = 3rd axis of the plane for G17)
_OVR [3]
Actual angle between Y and Z (Y = 2nd axis of the plane for G17)
Degrees
_OVR [4]
Distance in Z between the probe ball and measuring position at the probe
mm
shaft
_OVR [5]
Exceeding the tolerance between X and Z (for dimensional tolerance "Yes")
mm
_OVR [6]
Exceeding the tolerance between Y and Z (for dimensional tolerance "Yes")
mm
_OVR [7]
Spindle camber in XZ (XZ for G17)
mm
_OVR [8]
Spindle camber in YZ (YZ for G17)
mm
_OVR [9]
Upper tolerance limit of the measured angle values (_OVR[2], _OVR[3])
mm
_OVI [2]
Measuring cycle number
-
_OVI [3]
Measuring version
-
_OVI [5]
Number, probe calibration data field
-
_OVI [9]
Alarm number
-
Table 3-30
Intermediate results 1st measurement (calibration ball)
Parameters
Description
Unit
_OVR [10]
Setpoint calibration ball
mm
_OVR [11]
Setpoint center point coordinate, 1st axis of the plane
mm
_OVR [12]
Setpoint center point coordinate, 2nd axis of the plane
mm
_OVR [13]
Setpoint center point coordinate, 3rd axis of the plane
mm
_OVR [14]
Actual ball diameter
mm
_OVR [15]
Actual value center point coordinate, 1st axis of the plane
mm
_OVR [16]
Actual value center point coordinate, 2nd axis of the plane
mm
_OVR [17]
Actual value center point coordinate, 3rd axis of the plane
mm
_OVR [18]
Ball diameter difference
mm
_OVR [19]
Difference center point coordinate, 1st axis of the plane
mm
_OVR [20]
Difference center point coordinate, 2nd axis of the plane
mm
_OVR [21]
Difference center point coordinate, 3rd axis of the plane
mm
Table 3-31
Intermediate results 2nd measurement (measuring probe shaft or 2nd probe ball at the
shaft)
Parameters
Description
Unit
_OVR [22]
Setpoint calibration ball diameter
mm
_OVR [23]
Center point setpoint in the 1st axis of the plane
mm
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
223
Measuring variants
3.3 Measure workpiece (milling)
Parameters
Description
Unit
_OVR [24]
Center point setpoint in the 2nd axis of the plane
mm
_OVR [25]
Center point actual value in the 1st axis of the plane
degrees
_OVR [26]
Center point actual value in the 2nd axis of the plane
degrees
_OVR [27]
Center point difference in the 1st axis of the plane
Degrees
_OVR [28]
Center point difference in the 2nd axis of the plane
degrees
3.3.23
Measuring kinematics completely (CYCLE9960)
3.3.23.1
Function
With the "Measure kinematics completely" measuring variant (CYCLE9960), it is possible to
correct the geometric vectors used to define the kinematic 5-axis transformation on the basis of
kinematic chains and the tool carrier (in the conventional way via $TC_CARR ) by measuring the
positions of the ball in space.
The measurement is always carried out by means of workpiece probes which sense up to twelve
positions of a measuring sphere on each rotary axis. The sphere positions are defined evenly over
an area specified by the user so that they correspond to the geometric ratios on the machine. The
sphere positions are set automatically solely through the repositioning of the rotary axis that is
to be measured in each case.
For the use of the CYCLE9960, the kinematics must be set up precisely in accordance with the
drawing dimensions to be able to guarantee automatic repositioning.
With CYCLE9960, it is also possible to measure the deviation on the tool tip (TCP) with active
transformation for various rotary axis positions, after the measurement and correction of the
kinematics. These deviations can be compensated with the "VCS Rotary" compile cycle.
Possible fields of application
• Check and correction of the machine kinematics
- Service following collisions
- Checking the kinematics during the machining process
- Previously measured kinematics can be corrected
• Measuring the reference (only for kinematics with changeable heads)
- Using the Z dimension of a reference head
- Vector of the tool axis remains unchanged as entered by the machine manufacturer
• Adapting to the reference (only for kinematics with changeable heads)
- Enables the use of several heads for machining a workpiece
Measuring cycles
224
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
• Measuring and correcting interpolation points (only if "VCS Rotary" is installed)
- Compensation of the TCP for rotary axis motion using the "VCS Rotary" compile cycle
- Automatic creation of a compensation file
• Measure and compensate orientation of the rotary axes (only if "VCS" is installed)
- Compensation of the orientation of the rotary axes using compile cycle "VCS"
- Automatic creation of a compensation file
A transformation or tool carrier must be active during the measurement.
Preconditions
The following requirements must be met in order to use CYCLE9960 (measure kinematics):
• Calibrated 3D probe or mono probe
• Mounted calibration sphere
• A transformation must be set up on the basis of kinematic chains or a tool carrier
• The basic geometry of the machine (X, Y, Z) is rectangular and referenced
• The right angle refers to the workpiece spindle and should be preferably checked with a test
mandrel or with the CYCLE995 measuring cycle
• Defined position of the rotary axes involved in the transformation
• Defined traverse directions in compliance with the standard of all axes involved in the
transformation according to ISO 841-2001 and/or DIN 66217 (right-hand rule)
• Linear and rotary axes must have their optimum dynamic settings
• The probe must be calibrated precisely. The calibrated tool length of the probe is included
directly in the calculated vectors of the kinematics
• When measuring, the measuring variant "Circling around the calibration sphere with
tracking of the switching direction" should be used
• Measure with active swiveling (TCARR) or active TRAORI, SD55740:
$SCS:MEA_FUNCTION_MASK, set bit 8 = 1.
Note
Kinematics can only be corrected when no persistent transformation is active. In this case, the
kinematics can be measured with "Measuring only". The resulting vectors can be read with the
_OVR[1] to _OVR[20] parameters.
Machine manufacturer
Please observe the information provided by the machine manufacturer.
The measurement of the rotary axis must be performed in the basic system of the machine.
Metric machine with G710 and positions in mm. "INCH" machine with G700 and positions in
INCHES.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
225
Measuring variants
3.3 Measure workpiece (milling)
3.3.23.2
Mounting the calibration sphere
For machines, the calibration sphere must be mounted on the machine table. In order to
measure kinematics for swivel-mounted workholders, the sphere must be incorporated into the
appropriate workholder. In all cases it must be ensured that the probe can approach and bypass
the mounted calibration sphere without collision in all the selected rotary axis positions.
Considering the need to avoid collisions, the calibration sphere should be mounted as far as
possible from the center of rotation of the rotary axis that is to be measured.
Calibration ball mounted sufficiently far from
Calibration ball mounted too near the center of
the center of rotation; large triangle can be
rotation; clamped triangle is too small
clamped
Note
While measuring a rotary axis, the mechanical attachment of the calibration sphere must not be
changed.
3.3.23.3
Positioning the rotary axes
The user specifies the range to be measured for each rotary axis as well as the number of
measuring points within this range.
CYCLE9960 calculates the rotary axis positions to be approached in the specified measuring
range. The positioning direction for modulo axes can be set in the screen. For non-modulo axes,
it is possible to measure in a mathematically positive or negative direction via the start and end
values.
A reference measurement is always performed first in the initial state (usually 0°). If the initial
state is included in the specified measuring range, it is not measured again.
To measure the interpolation points, the initial state must be a point included in the measuring
range. The measuring range must not exceed 360°. As many measuring points are approached
as specified.
With Hirth toothed axes, the measuring positions are rounded off to match the grid. The starting
and final angles of the rotary axes always refer to the rotary axis position (not the effective angle
of incidence).
Measuring cycles
226
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
Example 1a - non-modulo axis with angle area -100° ... 100°
Starting angle = -90°, end angle = 0°, number of measuring points = 3
Measuring point 1 = 0°, measuring point 2 = -90°, measuring point 3 = -45°
Example 1b - non-modulo axis with angle area -100° ... 100°
Starting angle = 0°, end angle = 90°, number of measuring points = 3
Measuring point 1 = 0°, measuring point 2 = 45°, measuring point 3 = -90°
Example 2a - modulo axis with angle area 0° ... 360°
Starting angle = 270°, end angle = 0°, number of measuring points = 4
Measuring point 1 = 0°, measuring point 2 = 270°, measuring point 3 = 300°, measuring point
4= 330°
Example 2b - modulo axis with angle area 0° ... 360°
Starting angle = 0°, end angle = 270°, number of measuring points = 4
Measuring point 1 = 0°, measuring point 2 = 90°, measuring point 3 = 180°, measuring point 4=
270°
Example 3 (reference measurement in initial state is also measured)
Starting angle = 30°, end angle = 180°, number of measuring points = 6 (interpolation points)
Reference measurement = 0°, MP 1 = 30°, MP 2 = 60°, MP 3 = 90°, MP 4 = 120°, MP 5 = 150°, MP 6
= 180°
Example 4
Starting angle = -180°, end angle = 180°, number of measuring points = 6
Reference measurement = 0°, MP 1 = -180°, MP 2 = -120°, MP 3 = -60°, MP 4 = 0°, MP 5 = 60°,
MP 6 = 120°
MP 4 is skipped and the values used from the reference measurement. +180° is not measured,
because this position corresponds to MP 1 -180°.
Example 5: Head kinematics with 2 rotary axes
1st and 2nd rotary axis: Starting angle = -120°, end angle = 120°, number of measuring points
= 6
1st rotary axis: Reference measurement not required
MP 1=-120°, MP 2= -72°, MP 3= -24°, MP 4= 24°, MP 5= 72°, MP 6= 120°
2nd rotary axis:
Reference measurement: MP 1= 0°, MP 2= -120°, MP 3= -60°, MP 4= 0°, MP 5= 60°, MP 6= 120°
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
227
Measuring variants
3.3 Measure workpiece (milling)
MP 4 is skipped because the reference measurement has already been performed.
In order to obtain a measurement result that is as precise as possible, the rotary axis range to be
measured should not be too small. With the setting data 55648 $SCS_MEA_KIN_MIN_ANG_POS,
a minimum angle can be set for the rotary axis range to be measured.
The setting data 55647 $SCS_MEA_KIN_MIN_ANG_TRIANGLE can be used to set a minimum
interior angle of the measuring triangle to measure the rotary axes with 3 measuring points.
The second rotary axis can be set for the head kinematics to obtain a larger measuring circuit for
the measurement of the first rotary axis. If the head and the table contain a rotary axis each, the
table axis can be set to measure the header axis. For table kinematics, the turntable can be tilted
by the other rotary axis for measuring.
3.3.23.4
Measuring variants
Measuring the kinematics
The linear vectors of the orientation axes are calculated from up to twelve measuring points per
rotary axis and entered optionally.
An orientation transformation or a tool carrier is corrected on the basis of a kinematic chain in
the correction elements of the kinematic chain specified by the machine manufacturer. The
names of the correction elements for the orientation transformation are in the variables
$NT_CORR_ELEM_P and $NT_CORR_ELEM_T. The names of the correction elements for a TCARR
are stored in the variable $TC_CARR_CORR_ELEM. With the conventional tool carrier, $TC_CARR
variables are appropriately corrected directly as before.
With several changeable kinematics (e.g. changeable heads for drilling machines), they are
measured separately. A Z length reference is not established between the individual kinematics.
The active WO is not changed.
Measuring the reference
The Reference selection is only displayed when at least to swivel heads are available for
selection. The toggler is not displayed for table kinematics. Generally, this only refers to the Z
dimension relation between the MCS and the WCS! The function can be activated with bit 10 of
the setting data 55740 $SCS_MEA_FUNCTION_MASK.
The Z dimension of the reference head is used to determine the center point of the measuring
ball in Z. The zero point of the active settable WO is corrected accordingly when measuring. In
the correction of the vectors, only the two axes of the plane (X, Y for G17) and not the vector of
the tool axis (Z) are corrected. The vector of the tool axis remains unchanged as entered by the
machine manufacturer. The data of the active WO is saved for checking later measurements.
Measuring cycles
228
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
Adapting to the reference
All the length vectors of the head are adapted (X, Y, Z). The zero point of the active WO is used
as reference, which was adapted accordingly with the "Measure reference head" measuring
method. This enables the use of several heads for machining a workpiece. The operator is
responsible for complying with the measuring sequence (first "Measure reference head", then all
other heads with "Adapt head to reference head"). However, a check is made as to whether the
active WO saved for "Measure reference head" is identical to the "Adjust head to reference head"
measuring method.
All of the length vectors of the kinematics are corrected (e.g. from drawing dimensions to real
values).
Measuring interpolation points
The "VCS Rotary" compile cycle is required for the "Measure interpolation points" function.
The kinematics should always be measured first and then corrected. For machines with very high
demands on precision, it may be necessary to use the more precise compensation via the
"VCS Rotary" compile cycle. The "Measure interpolation points" selection is only displayed when
the "VCS Rotary" compile cycle has also been installed.
Up to twelve measuring points in a uniform measuring grid are recorded for each rotary axis.
A file with a table (one probe length) is generated by CYCLE9960.
Measuring sequence
The deviation in the three geometry axes is determined and saved for each measuring point in
different orientations. The compensation is determined and then automatically saved to a
compensation file and activated.
Compensation file
The compensation file is created automatically and saved to the manufacturer or user cycles
directory.
MD62738 $MC_E996_FILE_LOCATION: Storage location of the compensation file, 1=CMA.DIR,
2=CUS.DIR
CYCLE9960 provides a compensation file with the following name:
E996<TC_NAME>_<ChanNo>.SPF
TC_NAME is the name of the active transformation and ChanNo the number of the channel, e.g.
E996HEAD_1.spf
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
229
Measuring variants
3.3 Measure workpiece (milling)
If a compensation file is active before the start, it remains active. Before measuring, a check is
made as to whether the name of the compensation file matches the active transformation. (As
of SW 4.7 SP2)
• Measuring and correcting interpolation points
An already available compensation file is automatically saved with the name
E996<TC_NAME>_OLD<n>_<ChanNo>.SPF.
n is a consecutive number less than twelve. The advantage of an automatic backup is that the
old file can be activated again when an error occurs during measuring or the result is not
satisfactory. After measuring, the operator can write and activate the compensation file
through an operator acknowledgment (NC start).
• Measuring interpolation points only
With the remeasurement of the interpolation points, a new file is written which contains the
new measured compensation. The file is called E996>TC_NAME>_MEA<n>.SPF and is
written automatically after the measurement. The advantage of this file is that when the
operator is of the opinion that the new compensation through the remeasurement should be
used, the new compensation can be activated by simply changing the file name.
Table 3-32
Activating and deactivating a compensation file
CC_E996()
Deactivate compile cycle "VCS Rotary"
CC_E996("TC_NAME")
Activation of the E996<TC_NAME>_<ChanNo>.SPF compensation
file. If only measuring was performed and this compensation file
(E996TC_NAME_MEA1.MPF) is to be activated, then this file must
be renamed as E996TC_NAME_1.MPF so that it can be activated
with CC_E996("TC_NAME").
Or the compensation file is renamed as E996TC_NAME_MEA_1.MPF
and activated with CC_E996("TC_NAME_MEA"). This has the ad-
vantage that the old compensation file is still available.
3.3.23.5
Measurement result display
The measurement result display is very similar to the log. The measuring variant, the active
transformation, the measured rotary axes and the associated measuring range are displayed in
the header. The measuring differences for each measurement are then displayed in the Basic
Coordinate System. The current and the new calculated correction element are displayed for an
estimation as to whether the measured kinematics should also be corrected.
Measuring cycles
230
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
Example 1: Transformation on the basis of a kinematic chain:
-------------------------------------------------------------------
--------------------------------------
2 :
Time: 08:59:42
Results measure: Kinematic measure complete /CYCLE9960
Variant
: S_MVAR=11400
Measuring plane: G17
Name / number : HEAD_CA_Y100/2
Rotary axis 1
: C1 start:
120.000 final:
240.000 no.:3
Position of rotary axis 2: 30
Rotary axis 2 : A1 start:
30.000 final:
90.000 no.:3
Position of rotary axis 1: 0
-------------------------------------------------------------------
--------------------------------------
Difference of measure:
X [mm]
Y [mm]
Z [mm]
max Value
0.03663
0.01208
0.04873
min Value
-0.02591
-0.05250
0.00000
C1[deg]
A1[deg]
X [mm]
Y [mm]
Z [mm]
120.0000
30.0000
-0.02591
0.00373
0.01599
180.0000
30.0000
-0.00379
-0.03623
0.03088
240.0000
30.0000
0.03663
-0.05250
0.04800
0.0000
0.00000
0.00000
0.00000
0.00000
0.0000
30.0000
0.00682
-0.00950
0.04377
0.0000
90.0000
0.00505
0.01208
0.01473
Difference of vector
X [mm]
Y [mm]
Z [mm]
before:
MC1_OFFSET_2_CORR
0.00000
0.00000
0.00000
MA1_OFFSET_2_CORR
0.00000
0.00000
0.00000
Results:
Difference of vector:
X [mm]
Y [mm]
Z [mm]
MC1_OFFSET_2_CORR
0.00470
-0.00449
0.15641
MA1_OFFSET_2_CORR
-0.01612
-0.00129
-0.25343
Overwrite kinematics data record, yes -> NC start, no -> reset
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
231
Measuring variants
3.3 Measure workpiece (milling)
Example 2: Tool carrier (conventional)
-------------------------------------------------------------------
--------------------------------------
2 :
Time: 08:59:42
Results measure: Kinematic measure complete /CYCLE9960
Variant
: S_MVAR=11400
Measuring plane: G17
Name / number
: HEAD_CA / 2
Rotary axis 1
: C1 start:
120.000 final:
240.000 no.:3
Position of rotary axis 2 : 30
Rotary axis 2 : A1 start:
30.000 final:
90.000 no.:3
Position of rotary axis 1 : 0
-------------------------------------------------------------------
--------------------------------------
Difference of measure:
X [mm]
Y [mm]
Z [mm]
max Value
0.03663
0.01208
0.04873
min Value
-0.02591
-0.05250
0.00000
C1[deg]
A1[deg]
X [mm]
Y [mm]
Z [mm]
120.0000
30.0000
-0.02591
0.00373
0.01599
180.0000
30.0000
-0.00379
-0.03623
0.03088
240.0000
30.0000
0.03663
-0.05250
0.04800
0.0000
0.00000
0.00000
0.00000
0.00000
0.0000
30.0000
0.00682
-0.00950
0.04377
0.0000
90.0000
0.00505
0.01208
0.01473
vectors before:
X [mm]
Y [mm]
Z [mm]
I1
-9.50000
0.00000
-80.00000
I2
9.50000
0.00000
30.00000
I3
0.00000
0.00000
50.00000
Results:
vectors:
X [mm]
Y [mm]
Z [mm]
I1
-9.50470
0.00449
-79.90200
I2
9.50470
-0.00440
30.15640
I3
0.00000
0.00000
49.74650
Overwrite kinematics data record, yes -> NC start, no -> reset
3.3.23.6
Calibration on sphere
Before the measurement of the kinematics with prepositioning on the north pole of the
calibration sphere, an automatic calibration on the sphere can be selected in CYCLE9960.
Whereby, a new calibration is only performed in the plane (X, Y for PL=G17). The length of the
probe must be determined as precisely as possible first.
Measuring cycles
232
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
3.3.23.7
Travel around the calibration sphere
The orientation of the shaft can be specified in machine data
55649$SCS_MEA_KIN_BALL_VEC[0..2] to ensure that there is no collision with the shaft of the
calibration ball during automatic measurement of the calibration ball. The direction of the
vector goes from the calibration ball to the shaft. If this vector is specified, the starting angles α1
and α2 are calculated automatically when measuring the ball to ensure that there is no collision
with the shaft.
The speed with which the rotary axes can be repositioned can be specified in SD55637
$SCS_MEA_FEED_POS_DEG. The traversing motion takes place in degrees/min.
3.3.23.8
Tolerance limits
Tolerance of the offset vectors (TLIN)
Activating the tolerance limits when parameterizing CYCLE9960 (compare Starting values -
calculated values), allows conclusions to be drawn regarding unusual changes in the kinematics.
The unintentional automatic overwriting of starting values can be avoided by adjusting the
tolerance limits.
Tolerance of the direction vectors of the rotary axes
Primarily, the calculated rotary axis vectors enable an assessment to be made regarding the
mechanical set/actual state of the kinematics. Depending on the kinematics configuration, even
the smallest and corrected deviations in the position of the rotary axis vectors can result in large
compensating movements.
The maximum permissible angular deviation of the calculated rotary axis vectors can be
specified with SD41611 $SN_CORR_TRAFO_DIR_MAX .
SD55740 $SCS_MEA_FUNCTION_MASK BIT12 can be used to switch between the CANCAL and
RESET alarms for tolerance violations.
Note
The rotary axis vectors V1/V2 (orientation of the rotary axes) are never automatically
overwritten.
Tolerance monitoring of the ball diameter
If the setting data SD55644 $SCS_MEA_KIN_DM_TOL > 0, the measured calibration ball
diameter is checked after each measurement. If the deviation is greater than in setting data
SD55644 $SCS_MEA_KIN_DM_TOL, fault 62321 or 62322 is output.
62321 rotary axis 1: Tolerance, diameter of calibration ball between measurement %4 exceeded.
62322 rotary axis 2: Tolerance, diameter of calibration ball between measurement %4 exceeded.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
233
Measuring variants
3.3 Measure workpiece (milling)
3.3.23.9
Setting a fixed value (scaling)
A fixed value can be set in an axis direction (X, Y, Z) for each rotary axis. This is required
particularly for table kinematics because the result of the kinematics calculation refers to the
measurement height of the calibration ball. With the fixed value, you can, for example, calculate
the Z component to the reference point of the workpiece table.
Setting a fixed value only makes sense for specific axis directions.
Example
Table kinematics
• Rotary axis C rotates around Z → Set a fixed value for rotary axis C in axis direction Z.
Mixed kinematics
• Rotary axis C rotates around Y and Z (rotary axis vector = (0,1,1))
→ Set a fixed value for rotary axis C in axis direction Y or Z.
• Table rotates around Y
→ Set a fixed value for rotary axis B in axis direction Y.
Which component is set for which rotary axis is set with the setting data SD556445
$SCS_MEA_KIN_MODE and SD556446 $SCS_MEA_KIN_VALUE.
SCS_MEA_KIN_MOD
Free component of the linear vector of the 1st rotary axis
E[0]
= 0
All components of the linear vector are calculated
= 1
The component for X is taken from $SCS_MEA_KIN_VALUE[0].
= 2
The component for Y is taken from $SCS_MEA_KIN_VALUE[0].
= 3
The component for Z is taken from $SCS_MEA_KIN_VALUE[0].
= 4
The component for X is taken from the active transformation.
= 5
The component for Y is taken from the active transformation.
= 6
The component for Z is taken from the active transformation.
SCS_MEA_KIN_MOD
Free component of the linear vector of the 2nd rotary axis
E[1]
Note
The fixed value is always set on the basis of the orientation vectors of the rotary axes that are
entered in the kinematic chain or in the tool carrier.
Measuring cycles
234
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
Closing a chain
For a transformation on the basis of kinematic chains, the tool or part chain is closed via the
system variable $NT_CNTRL Bit7 and 8. For a tool carrier, you can use the setting data SD556445
$SCS_MEA_KIN_MODE to set whether the closing vector also is to be calculated.
Table 3-33
SCS_MEA_KIN_MODE[0]
Value
Meaning
0x default
Head chain is closed, meaning I1 is calculated as the closing vector.
1x
Head chain is not closed, which means I1=(0,0,0)
Table 3-34
SCS_MEA_KIN_MODE[1]
Value
Meaning
0x default
Table chain is closed, meaning I4 is calculated as the closing vector.
1x
Table chain is not closed, meaning I4=(0,0,0)
3.3.23.10
Only correct kinematics
Previously measured kinematics can be corrected again using "correct only". If the kinematics
were measured using the "measuring only“ variant, the kinematics can be corrected without
remeasurement.
The variables required for the kinematic measurement are stored in the following GUDs:
Parameter
Meaning
_OVR[120]
Number of measuring positions of the 1st rotary axis
_OVR[121]
Number of measuring positions of the 2nd rotary axis
_MEA_MKS[n,m]
Field of all measuring points
_MEA_MKS[n,0..2]
X, Y, Z position for measuring n
_MEA_MKS[n,3]
Position of the 1st rotary axis for measurement n
_MEA_MKS[n,4]
Position of the 2nd rotary axis for measurement n
_MEA_MKS[0,m]
Measurement in initial state, this value may repeat
_MEA_MKS[1,m]
1st measurement of the 1st rotary axis
_MEA_MKS[_OVR[120],m]
Last measurement of 1st rotary axis
_MEA_MKS[_OVR[120]+1,m]
1st measurement of the 2nd rotary axis
_MEA_MKS[_OVR[120]+_OVR[121],m]
Last measurement of 2nd rotary axis
_OVR[7..9]
Orientation of 1st rotary axis
_OVR[10..12]
Orientation of 2nd rotary axis
_OVR[50]
Length of measuring input
_OVR[66..68]
Active frame with 1. Measurement
The settings for tolerance monitoring or set fixed value for "correct only" need not be the same
as the settings for pure measurement of the kinematics. Previously corrected kinematics can be
subject to "correct only" again. For example with one new fixed value. After the correction, the
user is asked whether the kinematic data with which NC start must be confirmed are to be
written.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
235
Measuring variants
3.3 Measure workpiece (milling)
3.3.23.11
Measuring the kinematics of a turning machine
There is no basic position for the first measurement on turning machines, as is generally
assumed for milling machines. For turning machines, the initial measuring position/reference
position of the B axis must be selected for the measurement. On the operator interface, the
reference position of the B axis can be selected prior to the measurement using a toggle field;
this position need not correspond to the basic position. The following orientations are possible:
Figure 3-18
Kinematics measurement of a turning machine
Two rotary axes
If 2 rotary axes are applied with a transformation or a tool carrier, both axes are measured and
corrected during the kinematic measurement.
3.3.23.12
Measuring kinematics with a USER password
The kinematics are typically measured by the machine manufacturer with the manufacturer's set
password.
The machine manufacturer can decide whether the end user is permitted to measure the
kinematics. The following MDs must be set for this use case:
Procedure
1. Set MD11160 $NM_ACCESS_EXEC_CST = 1.
2. Set MD51742 $MNS_MEA_ACCESS_EXEC[0] = 1 to 7.
The setting limits the protection levels for writing system variables during the execution of
measuring cycles. MD 51742 limits the current protection levels to a range between the setting
in MD 11160 and the setting in MD 51742 while measuring cycles are executed. Meaning of the
numerical values (protection level), see MD 11160.
The setting in MD 51742 is only active if MD 11160 = 1 is set.
Measuring cycles
236
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
Example
MD 11160 = 1
MD 51742[0] = 3
The measuring cycle CYCLE9960 can be executed with the protection levels 1 (manufacturer) to
3 (end user).
3.3.23.13
Compensation of the rotary axes orientation with VCS and CYCLE996
CYCLE9960 measures the kinematics. The calculated rotation vectors are determined but not
corrected. CYCLE9960 writes the VCSROTVEC.SPF transfer file which is read-in by VCS so that the
deviation of the rotation vectors from the ideal vectors can be compensated by VCS.
Note
This function only functions for the classic TCARR.
Creating the compensation file for VCS
VCSROTVEC_VERIFICATION=0 (default)
The existing /_N_CMA_DIR/_N_VCSROTVEC_SPF file is deleted at the 1st measuring point and
rewritten with the ideal vectors from the tool carrier.
The orientation vectors are calculated and the
/_N_CMA_DIR/_N_VCSROTVEC_SPF file is rewritten in accordance with the measurements. The
VCS file is reactivated.
Example of /_N_CMA_DIR/_N_VCSROTVEC_SPF:
[ROTV1]
-0.9999998863 0.000325562546 0.000348567077
[ROTV2]
0.000605196161 -0.000244774126 -0.9999997869
Verifying the compensation file for VCS
VCSROTVEC_VERIFICATION=1
The existing /_N_CMA_DIR/_N_VCSROTVEC_SPF file is retained during measurement. After the
measurement, the new /_N_CMA_DIR/_N_VCSROTVEC_VERIFI_SPF file is created.
The file contains the orientation vectors of the compensation and the calculated orientation
vectors with active compensation.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
237
Measuring variants
3.3 Measure workpiece (milling)
Example of /_N_CMA_DIR/_N_VCSROTVEC_VERIFI_SPF:
//active compensation for rotary axis orientation
[ROTV1]
-0.9999998863 0.000325562546 0.000348567077
[ROTV2]
0.000605196161 -0.000244774126 -0.9999997869
//measured rotary axis orientation with active compensation
[ROTV1]
-0.999999998 0.000003232074 0.000003458678
[ROTV2]
0.000006049775 -0.000002447851 -0.999999997
3.3.23.14
Parameter
G code program
Parameter
Description
Unit
PL
Plane in which measurement is performed
-
Calibration data set (1-40), input of variables possible1)
-
TC
Name of the transformation
-
Measuring method
• Measuring the kinematics
-
• Measuring the reference
• Adapting to the reference
• Measuring interpolation points
Work offset
For Measuring reference only
Measuring variants for
• Correct only
measuring kinematics:
• Measuring only
Calibrate
Calibration of probe in the plane on first measurement 2)
• Yes
• No
Positioning
• Paraxial
• On circular path
∅
Sphere diameter
mm
DFA
Measurement path
mm
TSA
Safe area for the measurement result
mm
Rotary axis 1
Name of the 1st rotary axis to be measured
-
AX1S
Starting angle of measurement series 1
Degrees
AX1E
End angle of measurement series 1
Degrees
AX1N
Number of measuring points for the 1st measurement series (3...12)
-
Ax2P
Position of the 2nd rotary axis during the measurement
Degrees
αAx1
Contact angle on the calibration sphere in the measurement series for rotary axis 1 3)
Degrees
Rotary axis 2
Name of the 2nd rotary axis to be measured
-
AX2S
Starting angle of measurement series 2
Degrees
Ax2E
End angle of measurement series 2
Degrees
Ax2N
Number of measuring points for the 2nd measurement series (3...12)
-
Measuring cycles
238
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
G code program
Parameter
Description
Unit
Ax1P
Position of the 1st rotary axis during the measurement
Degrees
αAx2
Contact angle on the calibration sphere in the measurement series for rotary axis 2 3)
Degrees
Tolerance
• Yes
• No
Value of the tolerance of the linear vectors for tolerance yes:
mm
Value in SD $SN_CORR_TRAFO_LIN_MAX
1)
The variable name must not be empty.
2)
The workpiece probe can only be calibrated before measurement if it is inserted in a SPOS-capable spindle.
3)
If the direction of the calibration sphere shaft ($SCS_MEA_KIN_BALL_VEC) has already been set, the contact angle is
calculated automatically.
List of the result parameters
The "Measure kinematics completely" measuring variant provides the following result
parameters:
Table 3-35
Transformation on the basis of kinematic chains
Parameter
Description
Unit
_OVR[21,22,23]
Correction values of the offset of rotary axis 1
mm
_OVR[24,25,26]
Correction values of the offset of rotary axis 2
mm
_OVR[130,131,13
Measurement difference of the 1st measurement in the initial state
mm
2]
_OVR[133,134]
Position of rotary axes 1 and 2 for 1st measurement
Degrees
_OVR[135,136,13
Measurement difference of the 2nd measurement
mm
7]
_OVR[138,139]
Position of rotary axes 2 and 2 for 2nd measurement
Degrees
_OVR[140,141,14
Measurement difference of the 2nd measurement
mm
2]
_OVR[143,144]
Position of rotary axes 1 and 2 for 3rd measurement
Degrees
As of _OVR[130], the measurement differences are stored with the associated rotary axis
positions. Depending on the number of points to be measured, the corresponding number of
_OVR variables are written.
Table 3-36
Tool carrier (conventional)
Parameter
Description
Unit
_OVR[1,2,3]
Offset vector I1 1)
mm
_OVR[4,5,6]
Offset vector I2
mm
_OVR[7,8,9]
Calculated rotary axis vector V1 (not corrected)
mm
_OVR[10,11,12]
Calculated rotary axis vector V2 (not corrected)
mm
_OVR[15,16,17]
Offset vector I3
mm
_OVR[18,19,20]
Offset vector I4 2)
mm
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
239
Measuring variants
3.3 Measure workpiece (milling)
Parameter
Description
Unit
_OVR[130,131,13
Measurement difference of the 1st measurement in the initial state
mm
2]
_OVR[133,134]
Position of rotary axes 1 and 2 for 1st measurement
Degrees
_OVR[135,136,13
Measurement difference of the 2nd measurement
mm
7]
_OVR[138,139]
Position of the rotary axis 1 and 2 at 2nd measurement
Degrees
The result parameters that are not calculated = 0.
1) Head kinematics: Close vector chain I1 = -(I3+I2); for fixed-mounted machine kinematics
2) Table kinematics: Close vector chain I4 = -(I3+I2); for fixed-mounted machine kinematics
Mixed kinematics: Close vector chain I1=-I2 I4=-I3; for fixed-mounted machine kinematics
3.3.24
3D measuring on machines with orientation transformation
Function
Measuring with active orientation transformation, i.e. with the swivel cycle CYCLE800
(orientable tool carrier TCARR), or with the kinematic 5-axis transformation (TRAORI) with the
measuring cycles is possible.
The probe must be positioned perpendicular to the machining plane or parallel to the tool axis
before calling the measuring cycles.
The Align plane (CYCLE998) and Measurement of machine kinematic (CYCLE9960/CYCLE996))
functions are the exception. Here, the probe is always at an angle to the object to be measured.
The workpiece measurement is generally based on the active workpiece coordinate system
WCS.
Checking the correct switching direction when measuring the workpiece
If elements (hole, edge, etc.) are measured in the swiveled, rotated WCS, the switching direction
of the 3D workpiece probe must be checked as follows during the first commissioning of the
machine in the JOG and AUTO modes:
• Bit1 = 1 must be set in SD55740 $SCS_MEA_FUNCTION_MASK (coupling of the spindle with
the coordinate rotation).
• The switching direction in X+ (for G17) in the initial state of the machine kinematics must be
marked accordingly on the probe.
Measuring cycles
240
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
• Using the measuring of a hole with CYCLE977 in the swiveled plane as an example, the
marked switching direction must be aligned towards X+ when starting and probing the 1st
measuring point.
With active orientation transformation (TCARR, CYCLE800, TRAORI), the spindle position
changed by the tool orientation is calculated internally in the measuring cycles and the
spindle corrected accordingly.
The result of the calculation is saved in the GUD variable _MEA_CORR_ANGLE[1].
The correct spindle position during measuring must be checked on the workpiece for
different orientations of the object to be measured.
• After a successful check, SD55740 $SCS_MEA_FUNCTION_MASK, bit1 = 0 can be set. The
measurement results must correspond to those of the measurements with coupling of the
spindle.
Note
Additional adaptation of the correction angle
An additional adaptation of the correction angle for the positioning of the spindle may be
required for the selected machine kinematics or applications.
With the CUST_MEACYC.SPF manufacturer cycle, you can write the correction angles
_MEA_CORR_ANGLE[0] and _MEA_CORR_ANGLE[1].
These angles affect the spindle position / probe orientation when measuring or the internal
conversion of the trigger values if the spindle is not to be aligned in the switching direction
(SD55740 Bit1 = 0, SPOS = 0 during measuring).
3.3.25
Measuring with probe that cannot be positioned
General
If a probe at the machine cannot be positioned about the infeed axis, all of the measuring
functions that require positioning or alignment are not carried out.
Examples of such measuring functions are:
• Calibrating in the reference ring with a start point that is not in the center of the ring
• Calibration at the ball
• Function 3D probe with spindle rotation
• Function align 3D probe
• Function spindle coupling with coordinate rotation
The following explanations refer to the use of the milling measurement cycles.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
241
Measuring variants
3.3 Measure workpiece (milling)
A distinction is made between two basic use cases:
• The probe is located in a "non-SPOS-capable spindle". These can be, for example, speed-
controlled spindles without position control or high-speed spindles.
• The probe is "permanently installed on the machine". This is possible, for example, with laser
finishing machines without a spindle or grinding machines.
3.3.25.1
Non-SPOS-capable spindle
Requirement
• Electronic 3D workpiece probe (multi-probe)
• Between the calibration and measurement, the user must guarantee an identical orientation
(spindle position) of the probe, for example by clamping or indexing.
Function
It is generally assumed that the spindle contained in the probe is defined as the master spindle
by machine data or a program command. The probe and machining spindle center correspond
to the programmed axis position.
The behavior of the measuring cycles is set with the following channel-specific machine data:
MD 52207[n] $MCS_AXIS_USAGE_ATTRIB, bit 9
Value bit 9
Meaning
=0
Spindle is SPOS-capable (default)
=1
Independently of the spindle characteristic, only
measurement functions without spindle position-
ing are carried out by the measurement cycles. The
programming of the measurement cycles is done
exactly as it is done with a positionable probe. All of
the functions that require a positionable spindle
cannot be selected in the measurement cycle input
screens.
In the measuring cycle, no SPOS commands are called or non-executable measuring functions
are rejected by means of an alarm message during the cycle runtime.
Measuring cycles
242
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
Note
Calibration
If a probe is not SPOS-capable, or is permanently mounted on the machine, this results in special
requirements for the calibration.
The permissible calibration variants are:
• Calibrating in the ring, with "start point in the center of the ring"
- AUTO mode: SD54760 Bit22 = 1
- JOG mode: SD55740 bit 15 = 1
• Calibration at an edge/between two edges
3.3.25.2
Measuring probe permanently affixed to the machine
Requirement
• Electronic 3D workpiece probe (multi-probe)
Function
If the measuring probe is permanently affixed to the machine, a mechanical offset may exist in
the three geometry axes:
• between the measuring probe ball (tool tip)
• the tool reference point of the machining spindle
• and the machining medium (laser)
This offset should be entered in the adapter dimension (basis dimension) of the tool data of the
workpiece probe. As a component of the tool geometry, the adapter dimension is already
contained in the CNC.
The explained adaptation of the tool geometry results in the programmed axis position
corresponding to the probe ball (tool tip). You must observe whether the probe length refers to
the probe ball center or the probe ball circumference.
The behavior of the measuring cycles is set with the following general machine data:
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
243
Measuring variants
3.3 Measure workpiece (milling)
MD 51740 $MNS_MEA_FUNCTION_MASK, bit 4
Value bit 4
Meaning
=0
Workpiece probe is located in a spindle (default)
=1
Probe is permanently affixed on the machine. The
programming of the measurement cycles is done
exactly as it is done with a positionable probe. All of
the functions that require a positionable spindle
cannot be selected in the measurement cycle input
screens. In the measuring cycle, no SPOS com-
mands are called or non-executable measuring
functions are rejected by means of an alarm mes-
sage during the cycle runtime.
Note
Calibration
If a probe is not SPOS-capable, or is permanently mounted on the machine, this results in special
requirements for the calibration.
The permissible calibration variants are:
• Calibrating in the ring, with "start point in the center of the ring"
- AUTO mode: SD54760 Bit22 = 1
- JOG mode: SD55740 bit 15 = 1
• Calibration at an edge/between two edges
3.3.26
Simultaneous measurement on double spindles
3.3.26.1
General
Simultaneous measurement enables 2 identical workpieces to be measured on double spindles
simultaneously. Only workpiece measuring cycles are supported. Tools cannot be measured
simultaneously.
• A "Measurement level 2" license is necessary to use the "Simultaneous measurement"
function.
• MD 52740 bit 0 and bit 16 define the measurement input to which the workpiece and the tool
probe are connected.
• However, for simultaneous measurement, a workpiece probe is connected to both central
probe inputs.
• The following assignment is applicable:
- The first probe corresponds to the workpiece probe input
- The second probe corresponds to the workpiece probe input
Measuring cycles
244
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
• The 2 calibration data fields for the 2 probes must be consecutive. This means that the
calibration data field for the second probe is the calibration data field for the first probe plus
1. Only the first calibration data field is ever specified for measurement in the user interface.
• The probes are aligned using SPOS commands. Users are responsible for ensuring that the
SPOS command is effective for all spindles with probes.
The other parameter assignments of the measuring cycles behave exactly the same as with a
probe.
3.3.26.2
Calibration
The probes are calibrated separately one after the other. As only one tool is ever active at any one
time in the tool management, but in reality 2 probes measure simultaneously, the calibration
results must not be written in the tool data. The writing of the probe radius is prevented by the
setting data 54740 bit3 = 0. In the "Trim length" user interface, the correction of the tool length
is prevented in the tool data with "Adapt tool length = NO".
Manual switchover of measuring inputs
One possible procedure for the separate calibration might be to place the calibration ring each
time under one probe. The "Simultaneous measurement" function must be disabled (MD 51740
bit14 = 0). The following must be observed:
• Between the two calibration procedures, the calibration data field is incremented by 1
(shown in the screen form with SD 54760 bit 3 = 1 or SD 54780 bit 3 = 1)
• The measuring input is switched (MD 52740 bit 0/bit 16).
Automatic switchover of measuring inputs
The "Simultaneous measurement" function must be active for the automated switchover of
measuring inputs (MD 51740 bit14 = 1).
The probe created in the tool management has 2 cutting edges "D1" and "D2". The probes can
be calibrated one after the other with this configuration. Once with the first cutting edge and
once with the second cutting edge. The correct calibration data record must be selected for each
cutting edge in the operator interface. Cutting edge numbers greater than 2 cause a cycle alarm.
3.3.26.3
Measuring
The workpieces are measured simultaneously, that is both probes measure in parallel. The
current version of the development supports the following measurement variants:
• Measuring an edge
• Measuring a web
• Measuring a groove
• Measuring a hole
• Measuring a circular spigot
• Measuring a rectangular pocket
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
245
Measuring variants
3.3 Measure workpiece (milling)
• Measuring a rectangular spigot
• Aligning an edge
• Measuring a plane
• Right-angled corner
• Any corner
• Measuring a circle segment
The result parameters for the 2nd probe are stored parallel to the parameters of the first probe
on the GUD field "_OVR[ ]". The offset between them is 100. So _OVR[0] is the result parameter
for the first probe and _OVR[100] the associated parameter for the second probe. As from
parameter _OVR[900], the mean values from the measurement of the first and second probes
are stored. As an example, _OVR[900] is the mean value of _OVR[0] and _OVR[100].
The result for the first probe can, as usual, be displayed on the measurement result screen, and
documented with the logging function. The results of the second probe can be displayed and
logged with the "User protocol" function.
Programming example
T="3D_TASTER"
M6
G54
F2000
CYCLE150(31,1,"MEAS_PROTOCOL.TXT")
CYCLE977(103,1,,1,50,,,5,5,0,1,1,,1,1,"",,0,1.01,1.01,-1.01,0.34,1,0
,,1,1)
;Log/measuring result image of second probe circular hole/spigot
S_PROTTXT[0]=REP("")
S_PROTTXT[0]="2nd probe:"
S_PROTTXT[1]=SPRINT("X %10.3F
%10.3F
%10.3F
mm",_OVR[101],_OVR[105],_OVR[117])
S_PROTTXT[2]=SPRINT("Y %10.3F
%10.3F
%10.3F
mm",_OVR[102],_OVR[106],_OVR[118])
S_PROTTXT[3]=SPRINT("Diameter %10.3F
%10.3F
%10.3F
mm",_OVR[100],_OVR[104],_OVR[116])
CYCLE160; Write log and display
M2
Measuring cycles
246
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.3 Measure workpiece (milling)
3.3.26.4
Monitoring
Protection of the probe
The probe may be damaged in the following cases:
• Simultaneous measurement is inadvertently active, as only one workpiece is chucked
• The elements to be measured are very different from one another with simultaneous
measurement
To prevent this, the maximum overrun distance of the probe is monitored. Der overrun distance
is the difference between the switching position of the first deflected probe and the current
position. This overflow distance can be parameterized with SD55700
$SCS_MEA_SIMULTAN_LIMIT. The SD is preassigned with 1 mm as default, and can be freely
parameterized within the limits of 0.5 mm to 5 mm. If the parameterized maximum overflow
path is exceeded during a measurement, the measurement is aborted with an alarm.
Positional deviation
To enable highly accurate results, the positional deviation between the two probes must not be
too great. A tolerance for this can be specified with SD55701
$SCS_MEA_SIMULTAN_POS_DEV_MAX. If this is violated, an alarm is signaled before the
measurement.
Calibration data field
Each probe has a calibration data record. Calibration data record pairs result from the
simultaneous use of 2 probes. This means that only uneven calibration data records may be
selected for the AUTO measuring mode. If even calibration data record pairs are selected, an
alarm is signaled.
For JOG mode and when calibrating with CYCLE976, a check is made to ensure that an uneven
calibration data record is selected for cutting edge D1 and an even calibration data record is
selected for cutting edge D2.
3.3.26.5
Restrictions
• Tool measurement is not supported
• Measurement of ball and kinematics is not supported
• Calibration values must not be written in the tool parameters
• Machines with more than 2 spindles are not supported
You will find further information on the milling/turning technology in the SINUMERIK Operate
Commissioning Manual.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
247
Measuring variants
3.3 Measure workpiece (milling)
3.3.26.6
Measuring in JOG
If the "Simultaneous measuring" function is active, measurements in JOG mode are still
sequential, that is successive. The relevant probe can be selected by D number, as for calibration.
The result parameters and correction calculation are stored as for the single-spindle
measurement. The correct calibration data record must be specified for each cutting edge.
Measuring cycles
248
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.4 Measuring the workpiece on a machine with combined technologies
3.4
Measuring the workpiece on a machine with combined
technologies
3.4.1
Measuring a workpiece on a milling/turning machine
General
This chapter refers to measuring a workpiece on milling/turning machines. Milling is set up as
the 1st technology and turning as the 2nd technology.
Requirement:
1. Milling: MD52200 $MCS_TECHNOLOGY = 2
2. Turning: MD52201 $MCS_TECHNOLOGY_EXTENSION = 1
Further, the following setting data must be set:
• SD42950 $SC_TOOL_LENGTH_TYPE = 3
• SD42940 $SC_TOOL_LENGTH_CONST = 17
• SD42942 $SC_TOOL_LENGTH_CONST_T = 19
Measuring workpieces using turning technology on a milling machine is realized using milling
technology. For example, if the outer diameter of a contour is to be measured, then this can be
realized using CYCLE977 "Measure spigot" at the G17 plane. If the measured values are to be
corrected in a turning tool, then the programmer can specify the tool lengths L3x or L1z to be
corrected, and possibly the sign of the correction. With the setting "Automatic", length and sign
are selected correctly by the cycle. The selection of the correction depends on the turning tool
orientation (align turning tool function beta and gamma) for turning.
Please take into account SD55760 $SNS_MEA_FUNCTION_MASK_PIECE bit12 and bit13.
It only makes sense to correct the measured values of the turned tool in a work offset for the Z
axis. The machine manufacturer makes the correct setting of the turning center in XY when
commissioning the machine.
Note the machine manufacturer’s instructions
If the tool probe is to be reorientated for making the measurement, then this is realized using the
swivel plane function (CYCLE800).
Additional settings/notes relating to milling/turning technology should be taken from IM9 -
Chapter "Turning on milling machines".
The descriptions for the appropriate cycles in this manual should be used to parameterize the
individual measuring versions.
3.4.2
Measuring a workpiece on a turning/milling machine
The following section refers to the workpiece measuring on turning/milling machines. Turning
is set up as the 1st technology and milling as the 2nd technology.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
249
Measuring variants
3.4 Measuring the workpiece on a machine with combined technologies
For geometric reasons, the workpiece probe cannot be calibrated under the active G18
machining plane (turning) for turning/milling machines. The workpiece measurements should
be performed in G18 during turning. The probe is therefore calibrated under G17 or G19, and
the trigger values correspondingly allocated internally.
Turning measurement (measure diameter, outside, inside, etc.)
If measuring is to be performed in different tool orientations (B axis for turning technology), the
probe can be prepositioned with the "Tool alignment" function (CYCLE800).
- Milling measurement (measure hole, set edge, align edge, etc.)
If measuring is to be performed in different tool orientations, the probe can be prepositioned
with the "Swivel plane" function (CYCLE800).
Value specifications of the transverse axis (X) of the measuring cycles under milling are
performed in the radius (DIAMOF). The measuring cycles under milling also work internally with
radius programming in relation to a transverse axis.
With hole and spigot measurement (CYCLE977, CYCLE979), the object to be measured is
specified in the diameter.
3.4.2.1
Allocating the trigger values
Function
As of SW 4.5 SP2, the following application is enabled with the "Plane between calibration and
measurement can be different" function:
• Calibrating (with CYCLE976) in the G17 or G19 working plane
• Workpiece measuring in G18 as for turning (with CYCLE974, CYCLE994)
Requirement
• 1st turning technology: MD 52200$MCS_TECHNOLOGY = 1
• 2nd milling technology: MD 52201$MCS_TECHNOLOGY_EXTENSION = 2
• Active tool is a 3D multi probe, type 710
3.4.2.2
Uniformity when using a 3D probe of type 710
Function
According to the "Plane between calibration and measurement can be different" function, on a
turning/milling machine, the 3D probe type (710) can be used for all workpiece measuring
variants (turning and milling) based on a calibration data set.
Measuring cycles
250
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.4 Measuring the workpiece on a machine with combined technologies
Requirement
• Setting data SD42940 $SC_TOOL_LENGTH_CONST = 18 (or -18)
• Setting data SD42950 $SC_TOOL_LENGTH_TYPE = 2
• Active tool is a 3D multi probe, type 710
Note
If the above requirements are not satisfied for measuring under turning, alarm 61309 "Check
probe type" is output.
3.4.3
Measuring with active collision avoidance
When measuring with measuring cycles on a machine with active collision avoidance, the
following must be observed:
• The length of the measurement record is specified by the user for the measurement cycles:
- Via the screen form parameter DFA in Automatic mode
- For measuring in JOG mode via the general machine data MD51751
$MNS_J_MEA_M_DIST_MANUELL = 10 mm (default)
• When defining the protection areas, ensure that these measurement paths are traversed in
TWICE their length. If this is not observed during the definition, "Alarm 26260 - Collision of
the two protections areas" can be prematurely triggered.
The behavior of the measuring cycles to traverse the specified measuring path twice is
correct. This is because the measurement record is situated symmetrically along its overall
length about the set position, the anticipated touch point. This ensures that, despite the
deviation between the anticipated and actual touch point (measurement difference), the
measurement can be carried out.
Note
When the collision monitoring in the measurement record responds, these measurement
paths can be reduced accordingly. This is the more effective the nearer the setpoint and the
measured value are to one another, in other words, the measuring position is already known
(e.g. from remeasurement).
• If the measuring cycles are used in a simulated environment, e.g. VNCK, SINUTRAIN or on an
NCU with completely simulated axes, the measuring path is only traversed ONCE.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
251
Measuring variants
3.5 Measure tool (turning)
3.5
Measure tool (turning)
3.5.1
General information
The measuring cycles below are intended for use on turning machines.
Note
Spindle
Spindle commands in the measuring cycles always refer to the active master spindle of the
control.
When using the measuring cycles at machines with several spindles, then the spindle involved
must be defined as master spindle before the cycle call.
Further information: Programming Manual NC Programming
Plane definition
The measuring cycles work internally with the 1st and 2nd axes of the actual plane G17 to G19.
The default setting for lathes is G18.
Note
The measuring cycle for tool measurement, turning (CYCLE982) does not position in the 3rd axis
(Y for G18). The user must position in the 3rd axis.
Measuring cycles
252
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
Machine/workpiece-related measuring/calibrating
• Machine-related measuring/calibrating:
Measuring is performed in the basic coordinate system (machine coordinate system with
kinematics transformation disabled). The switching positions of the tool probe refer to the
machine zero. Data from the following general setting data are used (PLUS and MINUS
define the traversing direction of the tool):
-
① SD54625 $SNS_MEA_TP_TRIG_MINUS_DIR_AX1
–
② SD54626 $SNS_MEA_TP_TRIG_PLUS_DIR_AX1
-
③ SD54627 $SNS_MEA_TP_TRIG_MINUS_DIR_AX2
-
④ SD54628 $SNS_MEA_TP_TRIG_PLUS_DIR_AX2
;
7ULJJHU YDOXHV IRU SUREHV LQ WKH
PDFKLQH FRRUGLQDWH V\VWHP
=
0
Figure 3-19
Tool probe, machine-related (G18)
• Workpiece-related measuring/calibrating:
The switching positions of the tool probe refer to the workpiece zero. Data from the following
general setting data are used (PLUS and MINUS define the traversing direction of the tool):
-
① SD54640 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX1
-
② SD54641 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX1
-
③ SD54642 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX2
-
④ SD54643 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX2
;
7ULJJHU YDOXHV IRU SUREHV LQ WKH
ZRUNSLHFH FRRUGLQDWH V\VWHP
;
==
0
:
Figure 3-20
Tool probe, workpiece-related (G18)
Note
Workpiece-related or machine-related measurement requires an appropriately calibrated
tool probe, see Chapter Calibrate probe (CYCLE982) (Page 254).
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
253
Measuring variants
3.5 Measure tool (turning)
Compensation strategy
The tool measuring cycle is intended for various applications:
• First measurement of a tool (general setting data SD54762
$SNS_MEA_FUNCTION_MASK_TOOL Bit9):
The tool offset values in geometry and wear are replaced.
The offset is applied in the geometry component of the particular length.
The wear component is deleted.
• Remeasuring a tool (general setting data SD54762 $SNS_MEA_FUNCTION_MASK_TOOL
Bit9):
The resulting difference is calculated into the wear component (length) of the tool.
Empirical values may optionally be included. A mean value is not calculated.
See also
Changes from cycle version SW4.4 and higher (Page 347)
3.5.2
Calibrate probe (CYCLE982)
Function
This measuring version can be used to calibrate a tool probe. Using the calibration tool, the
actual distances between machine or workpiece zero and the probe trigger points are
determined.
Values are corrected without empirical and mean values.
Note
If a special calibration tool is not available, a turning tool can be used instead with cutting edge
positions 1 to 4 for the calibration of two sides of the probe.
Measuring principle
Calibrating with tool type calibration tool (type 585)
The calibration tool is shaped (angled) in such a way that the probe can be calibrated on all four
sides with it.
Measuring cycles
254
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
Calibrating with tool type calibration tool (type 725) or turning tool (type 5xy)
When a turning tool or a calibration tool, type 725, is used, the probe can only be calibrated from
2 sides.
;
=
Calibrating the tool probe with a calibration Calibrating a tool probe with a turning tool
tool
The cycle positions the calibration or turning tool to the probe. With a cycle call, the switching
position in the specified measuring axis and measuring direction is calibrated.
Preconditions
• Lengths 1 and 2 and the radius of the calibration or turning tool must be known exactly and
stored in a tool offset data record.
This tool offset must be active when the measuring cycle is called.
• For calibration, a reference turning tool, type 5xy, with precisely known geometry or a type
585 or type 725 calibration tool can be used (type 580 3D probe turning cannot be used)
• Calibration with a calibration or turning tool with cutting edge positions 1 to 4 is possible.
• The lateral surfaces of the probe cube must be aligned parallel to the machine axes Z1, X1
(axes of the plane).
• The approximate positions of the switching surface of the probe regarding the machine or
workpiece zero must be entered into the general setting data before calibration starts.
Additional information: SINUMERIK Operate Commissioning Manual
These values are used for automatic approach to the probe with the calibration tool and their
absolute value must not deviate from the actual value by more than the value in parameter
TSA.
The probe must be reached within the total path 2 · DFA.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
255
Measuring variants
3.5 Measure tool (turning)
Starting position before the measurement
;
6/
6/
!')$
6/
6/
=
0
Cutting edge positions 1 to 4 and suitable approach positions for both axes (machine-related)
① Trigger point of the 1st measuring axis in the negative direction (general SD54625)
② Trigger point of the 1st measuring axis in the positive direction (general SD54626)
③ Trigger point of the 2nd measuring axis in the negative direction (general SD54627)
④ Trigger point of the 2nd measuring axis in the positive direction (general SD54628)
Figure 3-21
Calibrating the tool probe with a calibration tool
;
6/
6/
!')$
6/
6/
=
0
Cutting edge positions 1 to 4 and suitable approach positions for both axes (machine-related)
① Trigger point of the 1st measuring axis in the negative direction (general SD54625)
② Trigger point of the 1st measuring axis in the positive direction (general SD54626)
③ Trigger point of the 2nd measuring axis in the negative direction (general SD54627)
④ Trigger point of the 2nd measuring axis in the positive direction (general SD54628)
Figure 3-22
Calibrating a tool probe with a turning tool
The cycle handles the approach to the probe.
Measuring cycles
256
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
Position after the end of the measuring cycle
The calibration or turning tool is located by the measurement path away from the measuring
surface.
;
')$
')$
0LQLPXP
,PSHUPLV
UHFRPPHQ
VLEOH DUHD
GHG GLVWDQFH
=
෥=
=
0
① Trigger point of the 1st measuring axis in the positive direction (general SD54626)
② Trigger point of the 1st measuring axis in the negative direction (general SD54625)
Figure 3-23
Position after the end of the measuring cycle, example 1st axis of the plane (for G18: Z)
Procedure
The part program or ShopTurn program to be processed has been created and you are in the
editor.
1. Press the "Meas. tool" softkey.
2. Press the "Calibrate probe" softkey.
The input window "Calibrate: Probe" opens.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
257
Measuring variants
3.5 Measure tool (turning)
Parameters
G code program
ShopTurn program
Parameter
Description
Unit
Parameter
Description
Unit
Calibration data set (1 - 6), var-
-
T
Name of the calibration tool
-
iable input possible1)
F
Calibration and measuring fee-
Distance/
D
Cutting edge number (1 - 9)
-
drate
min
Calibration data set (1 - 6), vari-
-
able input possible1)
F
Calibration and measuring fee-
mm/min
drate
β
Tool alignment with swivel axis
Degrees
•
(0 degrees)
•
(90 degrees)
• Value input
V
Tool orientation with a tool spin-
Degrees
dle
Z
Start point Z of the measure-
mm
ment
X
Start point X of the measure-
mm
ment
Y
Start point Y of the measure-
mm
ment
Parameter
Description
Unit
Measuring axis
Measuring axis (for measuring plane G18)
-
• X
• Z
DFA
Measurement path
mm
TSA
Safe area for the measurement result
mm
1)
The variable name must not be empty.
Measuring variant, milling on the turning machine
Procedure
The part program or ShopMill program to be edited has been created and you are in the editor.
1.
Press the "Meas. tool" softkey.
2.
Press the "Calibrate probe" softkey.
Measuring cycles
258
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
Parameter
ShopMill program
Parameter
Description
Unit
T
Name of the probe
-
D
Cutting edge number (1 - 9)
-
Calibration data set (1 - 6), input
-
of variables possible1)
F
Calibration and measuring fee-
mm/min
drate
X
Start point X of the measurement
mm
Y
Start point Y of the measurement
mm
Z
Start point Z of the measurement
mm
1)
The variable name must not be empty.
List of the result parameters
The measuring variant "Calibrate probe" provides the following result parameters:
Table 3-37
"Calibrate probe" result parameters
Parameters
Description
Unit
_OVR[8]
Trigger point in minus direction, actual value of 1st axis of the plane
mm
_OVR[10]
Trigger point in plus direction, actual value of 1st axis of the plane
mm
_OVR[12]
Trigger point in minus direction, actual value of 2nd axis of the plane
mm
_OVR[14]
Trigger point in plus direction, actual value of 2nd axis of the plane
mm
_OVR[9]
Trigger point in minus direction, difference of 1st axis of the plane
mm
_OVR[11]
Trigger point in plus direction, difference of 1st axis of the plane
mm
_OVR[13]
Trigger point in minus direction, difference of 2nd axis of the plane
mm
_OVR[15]
Trigger point in plus direction, difference of 2nd axis of the plane
mm
_OVR[27]
Zero offset area
mm
_OVR[28]
Safe area
mm
_OVI[2]
Measuring cycle number
-
_OVI[3]
Measuring variant
-
_OVI[5]
Probe number
-
_OVI[9]
Alarm number
-
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
259
Measuring variants
3.5 Measure tool (turning)
3.5.3
Turning tool (CYCLE982)
Function
With this measuring version, the tool length (L1 and/or L2) of a turning tool with cutting edge
positions 1 to 8 can be determined. The measuring version checks whether the difference to be
corrected with respect to the old tool length lies within a defined tolerance range:
• Upper limits: Safe area TSA and dimensional difference control DIF
• Lower limit: Work offset range TZL
If this range is not violated, the new tool length is accepted in the tool offset, otherwise an alarm
is output. Violation of the lower limit is not corrected.
Measuring principle
For "complete" measuring, all lengths of a turning tool are measured:
• Turning tool with cutting edge positions 1 to 4: L1 and L2
• Turning tool with cutting edge position 5 or 7: L2
• Turning tool with cutting edge position 6 or 8: L1
If the turning tool has a cutting edge position 1 to 4, contact is made with the probe in both axes
of the plane (for G18 Z and X), whereby the measurement starts with the 1st axis of the plane
(for G18, Z). For cutting edge positions 5 to 8, a measurement is only performed in one axis:
• Cutting edge position 5 or 7: 1. measuring axis for G18 Z
• Cutting edge position 6 or 8: 2. measuring axis for G18 X.
When measuring "axis by axis", the length of the turning tool in the parameterized measuring
axis is measured.
/
/
Figure 3-24
Measure: Turning tool (CYCLE982), example: Complete measuring
Preconditions
The tool probe must be calibrated, see Calibrate probe (CYCLE982) (Page 254).
Measuring cycles
260
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
The approximate tool dimensions must be entered in the tool offset data:
• Tool type 5xx
• Cutting edge position, cutting edge radius
• Lengths in X and Z
The tool to be measured must be active with its tool offset values when the cycle is called.
Starting position before the measurement
Before the cycle is called, the tool must be moved to the tool tip starting position, as shown in
the following diagram.
;
6/
6/
!')$
6/
6/
=
0
Figure 3-25
Cutting edge positions 1 to 4 and suitable starting positions for both axes
The center of the tool probe and the approach distance are calculated automatically and the
required traversing blocks generated. The center of the cutting edge radius is positioned at the
center of the probe.
3
7RRO WLS
6 ದ &HQWHU SRLQW FXWWLQJ HGJH
5 ದ &XWWLQJ HGJH UDGLXV
6
5
;
3
6
5
3
=
0
Figure 3-26
Measuring the length of a turning tool: Offset by the cutting edge radius, example SL=3
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
261
Measuring variants
3.5 Measure tool (turning)
Position after the end of the measuring cycle
For an "axis by axis" measurement, the tool tip is the measurement path distance away from the
probed measuring surface of the probe.
For a "complete" measurement, after the measurement, the tool is positioned at the starting
point before the cycle was called.
Procedure
The part program or ShopTurn program to be processed has been created and you are in the
editor.
1. Press the "Meas. tool" softkey.
2. Press the "Turning tool" softkey.
The input window "Measure: Turning tool" opens.
Parameter
G code program
ShopTurn program
Parameters
Description
Unit
Parameters
Description
Unit
PL
Measuring plane (G17 - G19)
-
T
Name of the tool to be meas-
-
ured
Calibration data set (1 - 6), in-
-
D
Cutting edge number (1 - 9)
-
put of variables possible1)
Calibration data set (1 - 6), in-
-
put of variables possible1)
β
Tool alignment with swivel axis:
Degrees
•
(0 degrees)
•
(90 degrees)
• Value entry
V
Tool orientation with a tool
Degrees
spindle
Z
Start point Z of the measure-
mm
ment
X
Start point X of the measure-
mm
ment
Y
Start point Y of the measure-
mm
ment
Parameters
Description
Unit
Measure
Measure tool lengths (for measuring plane G18)
-
• Complete (measure length Z and length X
• Only measure tool length Z
• Only measure tool length X
DFA
Measurement path
mm
Measuring cycles
262
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
Parameters
Description
Unit
TSA
Safe area for the measurement result
mm
TZL
Tolerance range for work offset
mm
TDIF
Tolerance range for dimensional difference monitoring
mm
1)
The variable name must not be empty.
Measuring variant, milling on a turning machine
Procedure
The part program or ShopMill program to be edited has been created and you are in the editor.
1. Press the "Meas. tool" softkey.
2. Press the "Turning tool" softkey.
Parameters
ShopMill program
Parameter
Description
Unit
T
Name of the probe
-
D
Cutting edge number (1 - 9)
-
Calibration data set (1 - 6),
-
input of variables possible1)
F
Calibration and measuring
mm/min
feedrate
X
Start point X of the meas-
mm
urement
Y
Start point Y of the meas-
mm
urement
Z
Start point Z of the meas-
mm
urement
1)
The variable name must not be empty.
List of the result parameters
The measuring variant "Turning tool" provides the following result parameters:
Table 3-38
"Turning tool" result parameters
Parameter
Description
Unit
_OVR[8]
Length actual value L1
mm
_OVR[9]
Length difference L1
mm
_OVR[10]
Length actual value L2
mm
_OVR[11]
Length difference L2
mm
_OVR[12]
Length actual value L3
mm
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
263
Measuring variants
3.5 Measure tool (turning)
Parameter
Description
Unit
_OVR[13]
Length difference L3
mm
_OVR[27]
Work offset range
mm
_OVR[28]
Safe area
mm
_OVR[29]
Permissible dimensional difference
mm
_OVR[30]
Empirical value
mm
_OVI[0]
D number
-
_OVI[2]
Measuring cycle number
-
_OVI[3]
Measuring version
-
_OVI[5]
Probe number
-
_OVI[7]
Empirical value memory number
-
_OVI[8]
Tool number
-
_OVI[9]
Alarm number
-
3.5.4
Milling tool (CYCLE982)
Function
This measuring version can be used to measure a milling tool on a turning machine (lathe).
The following measurements can be performed:
• Length
• Radius
• Length and radius
The measuring cycle checks whether the difference to be corrected with respect to the old tool
length or to the old tool radius lies within a defined tolerance range:
• Upper limits: Safe area TSA and dimensional difference control DIF.
• Lower limit: Zero offset range TZL.
If this range is not violated, the new tool length is accepted in the tool offset, otherwise an alarm
is output. Violation of the lower limit is not corrected.
The tool length correction is is realized depending on the particular turning machine (lathe). The
length assignment (L1 in X, L2 in Y) to the geometry axes is realized just the same as for a turning
tool.
Measuring principle
For a "complete" measurement, all measured variables that can be determined (lengths L1 and
L2 and radius) are determined. In both axes (for G18: Z and X) of the plane, probing action is
performed with respect to the probe, whereby the measurement starts with the first axis of the
plane (for G18: Z).
Measuring cycles
264
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
For an "axis-by-axis" measurement, the measured variables are measured corresponding to the
selection "only length (L1 or L2)", "only radius" or "length (L1 or L2) and radius" only in the
parameterized measuring axis of the active plane.
Measuring "axis-by-axis" - only length (L1 or L2)
Length L1 or L2 is measured in the parameterized measuring axis.
Table 3-39
Measuring "axis-by-axis" - only length (L1 or L2)
Without milling tool reversal
With milling tool reversal
;
/
/
)
)
/
;
;
)
0HDVXULQJ
0HDVXULQJ
0HDVXULQJ
SRLQW
SRLQW
0HDVXULQJ
SRLQW
SRLQW
5
5
=
0
=
=
Measuring length L2
0
0
Measuring length L1
Measuring length L2
Requirement: Radius R must be known.
Measuring "axis-by-axis" - only radius
The radius in the parameterized measuring axis is measured. When measuring with reversal,
measuring point 1 in the selected axis and milling spindle position is measured, the tool is then
turned through 180 ° and measured again. The average value is the measured value.
Table 3-40
Measuring "axis-by-axis" - only radius
Without milling tool reversal
With milling tool reversal
/
/
)
)
;
;
0HDVXULQJ
0HDVXULQJ
0HDVXULQJ SRLQW
SRLQW
SRLQW
6WDUWLQJ SRVLWLRQ RI
6WDUWLQJ SRVLWLRQ RI
')$
')$
WKH WRRO DW VWDUW RI
WKH WRRO DW VWDUW RI
F\FOH
F\FOH
5
5
=
=
0
0
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
265
Measuring variants
3.5 Measure tool (turning)
Measuring "axis-by-axis" - only length (L1 or L2) and radius
Length L1 or L2 and radius are measured in the parameterized measuring axis by probing twice
to two different sides of the measuring probe.
Table 3-41
Measuring "axis-by-axis" - only length (L1 or L2) and radius
Length L1 and radius measurement without
Length L2 and radius measurement with milling
milling tool reversal
tool reversal
;
/
/
)
)
;
0HDVXULQJ
SRLQW
3
0HDVXULQJ
3
SRLQW
=
0HDVXULQJ SRLQW
0
3
3
=
0
Measuring "complete" - lengths (L1 and L2) and radius
For complete measurements, all offsets are determined:
• Both lengths and radius (four measurements).
• If the radius is specified to be 0, then both lengths are determined (two measurements).
The measuring cycle generates the approach blocks for the probe and the traversing motions for
measuring length 1, length 2 and the radius. This is conditional on a correctly selected starting
position.
Milling tool reversal
When measuring with reversal, to start, the measuring point in the selected axis and a milling
spindle position according to starting angle SPOS is measured. Then the tool (spindle) is turned
through 180 degrees and measured again.
The average value is the measured value. Measurement with reversal, results in a second
measurement at each measuring point with a spindle rotation through 180 degrees with respect
to the starting angle. The offset angle entered in SCOR is summed to these 180 degrees. This
means that a specific 2nd milling cutting edge can be selected that is not exactly 180 degrees
offset from the 1st cutting edge. Measurement with reversal permits measurement of two
cutting edges of one tool. The mean value is the offset value.
Measuring cycles
266
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
Tool position
Axial position
Radial position
;
/
/
)
)
;
0HDVXULQJ
SRLQW
0HDVXULQJ
SRLQW
=
0
5
Milling cutter radius in the 2nd measuring axis (for
G18: X)
=
0
Milling cutter radius in the 1st measuring axis (for
G18: Z)
Measurement with rotating/stationary spindle
Measurement is possible with a rotating (M3, M4) or with a stationary milling spindle (M5).
If the milling spindle is stationary, at the beginning it is positioned at the specified starting angle
SPOS.
Note
Measurement with rotating spindle
If selection of a specific milling tool cutting edge is not possible, it is possible to measure with a
rotating spindle. The user must then program the direction of rotation, speed, and feedrate very
carefully before calling up CYCLE982 to prevent damage to the probe. A low speed and feedrate
must be selected.
Empirical values may optionally be included. A mean value is not calculated.
Preconditions
• The tool probe must be calibrated, see Calibrate probe (CYCLE982) (Page 254).
• The approximate tool dimensions must be entered in the tool offset data:
- Tool type: 1xy (milling tool)
- Radius, length 1, length 2.
• The tool to be measured must be active with its tool offset values when the cycle is called.
• For the milling tool, the channel-specific SD42950: $SC_TOOL_LENGTH_TYPE = 2 must be set
(length calculation just the same as for a turning tool).
• The tool spindle must be declared as the master spindle.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
267
Measuring variants
3.5 Measure tool (turning)
Starting position before the measurement
From the starting position, collision-free approach to the probe must be possible.
The initial positions are located outside the unauthorized area (see the diagram below).
;
;
3UREH
,PSHUPLVVLEOH
DUHD
==
:
0
① to ④ permissible area
Figure 3-27
Measure milling cutter: Possible starting positions in the 2nd axis of the plane (for G18: X)
Position after the end of the measuring cycle
For an "axis-by-axis" measurement, the tool tip is positioned at the measurement path distance
away from the last probed measuring surface of the probe.
For a "complete" measurement, after the measurement, the tool is positioned at the starting
point before the cycle was called.
Procedure
The part program or ShopTurn program to be processed has been created and you are in the
editor.
1. Press the "Meas. tool" softkey.
2. Press the "Milling tool" softkey.
The input window "Measure: Milling tool" opens.
Measuring cycles
268
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
Parameters
G code program
ShopTurn program
Parameter
Description
Unit
Parameter
Description
Unit
PL
Measuring plane (G17 - G19)
-
T
Name of the tool to be meas-
-
ured
Calibration data set (1 - 6),
-
D
Cutting edge number (1 - 9)
-
variable input possible1)
Calibration data set (1 - 6), var-
-
iable input possible1)
β
Tool alignment with swivel axis
Degrees
•
(0 degrees)
•
(90 degrees)
• Value input
Z
Start point Z of the measure-
mm
ment
X
Start point X of the measure-
mm
ment
Y
Start point Y of the measure-
mm
ment
Parameter
Description
Unit
Measurement type
• Axis-by-axis
-
• Complete (measure length and radius)
Tool position
• Axial (←)
-
• Radial (↓)
For measurement type "Complete":
Measure
Lengths X, Z and radius (in accordance with the tool position)
-
Cutting edge
• End face
-
• Rear face
Approach
Approach probe from the following direction (for measuring plane G18):
-
• In the case of tool position "axial": +/- X
• In the case of tool position "radial": +/- Z
For measurement type "Axis-by-axis":
Measurement
For measuring plane G18:
-
• Length X/Z and radius (in accordance with the tool position)
• Only length Z
• Only length X
• Only radius
Milling tool reversal
• Yes (measuring with reversal of the milling tool (180°))
-
• No (measurement without reversal)
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
269
Measuring variants
3.5 Measure tool (turning)
Parameter
Description
Unit
Position spindle
Set position of the tool spindle (only for milling tool reversal "No")
-
• No (any tool spindle position)
• Yes (position tool spindle at starting angle)
SPOS
Angle for positioning on a tool tip (only for milling cutter reversal "Yes" or position
Degrees
spindle "Yes" or for "complete" measurement type)
SCOR
Offset angle for reversal (only for milling tool reversal "Yes")
Degrees
DFA
Measurement path
mm
TSA
Safe area for the measurement result
mm
TZL
Tolerance range for work offset
mm
TDIF
Tolerance range for dimensional difference monitoring
mm
1)
The variable name must not be empty.
Measuring variant, milling on the turning machine
Procedure
The part program or ShopMill program to be edited has been created and you are in the editor.
1.
Press the "Meas. tool" softkey.
2.
Press the "Milling tool" softkey.
Parameter
ShopMill program
Parameter
Description
Unit
T
Name of the probe
-
D
Cutting edge number (1 - 9)
-
Calibration data set (1 - 6), input
-
of variables possible1)
F
Calibration and measuring fee-
mm/min
drate
X
Start point X of the measurement
mm
Y
Start point Y of the measurement
mm
Z
Start point Z of the measurement
mm
1)
The variable name must not be empty.
Measuring cycles
270
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
List of the result parameters
The measuring variant "Milling tool" provides the following result parameters:
Table 3-42
"Milling tool" result parameters
Parameters
Description
Unit
_OVR[8]
Length actual value L1
mm
_OVR[9]
Length difference L1
mm
_OVR[10]
Length actual value L2
mm
_OVR[11]
Length difference L2
mm
_OVR[12]
Radius actual value
mm
_OVR[13]
Radius difference
mm
_OVR[27]
Work offset range
mm
_OVR[28]
Safe area
mm
_OVR[29]
Permissible dimensional difference
mm
_OVR[30]
Empirical value
mm
_OVI[0]
D number
-
_OVI[2]
Measuring cycle number
-
_OVI[5]
Probe number
-
_OVI[7]
Empirical value memory
-
_OVI[8]
Tool number
-
_OVI[9]
Alarm number
-
3.5.5
Drill (CYCLE982)
Function
With this measuring variant, the tool length (L1 or L2) of a drill can be measured. The measuring
variant checks whether the difference to be corrected with respect to the old tool length lies
within a defined tolerance range:
• Upper limits: Safe area TSA and dimensional difference control DIF
• Lower limit: Zero offset range TZL
If this range is not violated, the new tool length is accepted in the tool offset, otherwise an alarm
is output. Violation of the lower limit is not corrected.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
271
Measuring variants
3.5 Measure tool (turning)
Measuring principle
The length (L1 or L2) of the drill is measured in the parameterized measuring axis.
Measuring length L2
Measuring length L1
;
/
/
)
;
0HDVXULQJ
SRLQW
=
0HDVXULQJ SRLQW
0
=
0
Measuring length L1
Measuring length L2
;
/
/
)
;
0HDVXULQJ SRLQW
=
0HDVXULQJ
0
SRLQW
5
=
0
Measuring cycles
272
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
Figure 3-28
Measuring of length: Drill (CYCLE982), example, tool position: ↓ radial position
Note
If the length of the drill is measured by approaching the probe from the side, then it must be
ensured that the drill to be measured does not deflect the probe in the area of the twist groove
or in the area of its drill tip.
The requirement is that the drill radius was entered in the tool offset, otherwise, an alarm will be
output.
Preconditions
• The tool probe must be calibrated.
• The approximate tool dimensions must be entered in the tool offset data:
- Tool type: 2xy (drill)
- Length 1, length 2
• The tool to be measured must be active with its tool offset values when the cycle is called.
• The channel-specific SD42950: $SC_TOOL_LENGTH_TYPE should be assigned 2 as standard
(length assignment the same as for turning tools). For special applications, the value "0" can
be used.
Starting position before the measurement
From the starting position, collision-free approach to the probe must be possible.
The initial positions are located outside the unauthorized area (see the diagram below).
;
;
3UREH
,PSHUPLVVLEOH
DUHD
==
:
0
① to ④
permissible area
Figure 3-29
Measure drill: Possible starting positions in the 2nd axis of the plane (for G18: X)
Position after the end of the measuring cycle
The tool tip is positioned at the measurement path from the measuring surface.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
273
Measuring variants
3.5 Measure tool (turning)
See also
Drill (CYCLE982) (Page 271)
Measure drill - special applications
The tool probe has been calibrated with G18 active as is usual for turning tools.
Function
If drills are used on lathes with a length compensation as for milling machines (channel-specific
SD42950: $SC_TOOL_LENGTH_TYPE=0), then also a drill can be measured in this application.
Length L1 is always calculated in the 3rd axis (tool offset axis) of the actual plane G17 to G19.
This also characterizes the position of the tool.
G17: L1 in Z axis (corresponds to axial position)
G18: L1 in Y axis (no turning machine application)
G19: L1 in X axis (corresponds to radial position)
Conditions
Length L1 is determined if the following conditions are satisfied:
• the active tool is of type 2xy (drill)
• Channel-specific SD42950: $SC_TOOL_LENGTH_TYPE=0
• G17 or G19 are active and
;
/
)
)
;
0HDVXULQJ
SRLQW
=
0HDVXULQJ SRLQW
0
Measure drill length L1 for G17
=
0
Measure drill length L1 for G19
Measuring cycles
274
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
Procedure
The part program or ShopTurn program to be processed has been created and you are in the
editor.
1. Press the "Meas. tool" softkey.
2. Press the "Drill" softkey.
The input window "Measure: Drill" opens.
Parameter
G code program
ShopTurn program
Parameters
Description
Unit
Parameters
Description
Unit
PL
Measuring plane (G17 - G19)
-
T
Name of the tool to be meas-
-
ured
Calibration data set (1 - 6),
-
D
Cutting edge number (1 - 9)
-
variable input possible1)
Tool posi-
• Axial (←)
-
Calibration data set (1 - 6), var-
-
tion
iable input possible1)
• Radial (↓)
β
Tool alignment with swivel axis
Degrees
•
(0 degrees)
•
(90 degrees)
• Value input
Z
Start point Z of the measure-
mm
ment
X
Start point X of the measure-
mm
ment
Y
Start point Y of the measure-
mm
ment
Parameter
Description
Unit
DFA
Measurement path
mm
TSA
Safe area for the measurement result
mm
TZL
Tolerance range for work offset
mm
TDIF
Tolerance range for dimensional difference monitoring
mm
1)
The variable name must not be empty.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
275
Measuring variants
3.5 Measure tool (turning)
Measuring variant, milling on the turning machine
Procedure
The part program or ShopMill program to be edited has been created and you are in the editor.
1.
Press the "Meas. tool" softkey.
2.
Press the "Drill" softkey.
Parameter
ShopMill program
Parameter
Description
Unit
T
Name of the probe
-
D
Cutting edge number (1 - 9)
-
Calibration data set (1 - 6), input
-
of variables possible1)
F
Calibration and measuring fee-
mm/min
drate
X
Start point X of the measurement
mm
Y
Start point Y of the measurement
mm
Z
Start point Z of the measurement
mm
1)
The variable name must not be empty.
List of the result parameters
The measuring variant "Drill" provides the following result parameters:
Table 3-43
"Drill" result parameters
Parameters
Description
Unit
_OVR[8]
Length actual value L1
mm
_OVR[9]
Length difference L1
mm
_OVR[10]
Length actual value L2
mm
_OVR[11]
Length difference L2
mm
_OVR[27]
Work offset range
mm
_OVR[28]
Safe area
mm
_OVR[29]
Permissible dimensional difference
mm
_OVR[30]
Empirical value
mm
_OVI[0]
D number
-
_OVI[2]
Measuring cycle number
-
_OVI[3]
Measuring version
-
_OVI[5]
Probe number
-
_OVI[7]
Empirical value memory
-
Measuring cycles
276
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.5 Measure tool (turning)
Parameters
Description
Unit
_OVI[8]
Tool number
-
_OVI[9]
Alarm number
-
3.5.6
Measure tool with toolholder that can be orientated
Overview
The functionality is designed for a specific configuration on turning machines (turning/milling
machines). As well as the linear axes (Z and X) and main spindle, the turning machines must
have swivel axis about Y with accompanying tool spindle. The swivel axis can be used to align
the tool on the X/Z level.
Requirements
• The lateral surfaces of the tool probe should be aligned parallel to the relevant axes (machine
or workpiece coordinate system in the 1st and 2nd axis of the plane). The tool probe must be
calibrated in the measuring axis and direction in which measuring will be performed.
• The tool to be measured must be active with its tool offset values when the cycle is called.
• When measuring turning tools, the cutting edge position of the tool must be entered in the
tool offset in accordance with the basic position of the tool carrier.
• When measuring drilling and milling tools, the setting data must be
SD42950: TOOL_LENGTH_TYPE = 2
i.e., lengths are assigned to the axes in the same way as for turning tools.
• The active level must be G18.
Function
To take into account the tool carrier that can be orientated in measuring cycle CYCLE982, the
following machine data must be set:
MD51740 $MNS_MEA_FUNCTION_MASK, bit 16 = 1
The tool components are corrected corresponding to the orientation of the tool carrier in the
initial state.
When measuring turning tools, especially roughers, finishers and mushroom-shaped tools, the
swivel axis can assume any position around Y. Multiples of 90° are permitted for milling and
drilling tools. Multiples of 180° are possible when positioning the tool spindle.
This is monitored within the cycle.
If turning tools are measured around Y using any positions (not multiples of 90°) of the swivel
axis, then it should be taken into consideration that the turning tool is measured with the same
tool position in both axes X/Z, assuming that this is possible.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
277
Measuring variants
3.5 Measure tool (turning)
Sequence
Before CYCLE 982 is called, the tool must be aligned in the same way as it will eventually be
measured.
The tool should be preferably aligned with CYCLE800, refer to the Operating Manual Turning,
Chapter "Swivel plane/align tool (CYCLE800)".
Please note that the measuring cycle assumes that the tool has been aligned in advance.
From the position adopted by the tool, it must be possible to approach the probe in X, Z via the
measuring cycle.
The measuring procedure that follows is the same as for the measuring variants when the tool
carrier is in its basic position.
Note
Measuring milling tools
The following measuring version is not supported when using a tool carrier that can be
orientated:
Meas. mode: "complete" and cutting edge: measure "rear side".
When this measuring version is used, alarm 61037: "Incorrect measuring version" is output.
Measuring cycles
278
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.6 Measure tool (milling)
3.6
Measure tool (milling)
3.6.1
General information
The measuring cycles described in this chapter are intended for use on milling machines and
machining centers.
Note
Spindle
Spindle commands in the measuring cycles always refer to the active master spindle of the
control.
When using the measuring cycles at machines with several spindles, then the spindle involved
must be defined as master spindle before the cycle call.
Further information: Programming Manual NC Programming
Plane definition
For milling machines and machining centers, the default setting is the actual machining plane
G17.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
279
Measuring variants
3.6 Measure tool (milling)
Machine/workpiece-related measuring/calibrating
• Machine-related measuring/calibrating:
Measuring is performed in the basic coordinate system (machine coordinate system with
kinematics transformation disabled).
The switching positions of the tool probe refer to the machine zero. Data from the following
general setting data are used:
<
=
7ULJJHU YDOXHV IRU SUREHV LQ WKH
7ULJJHU SRLQWV LQ WKH
PDFKLQH FRRUGLQDWH V\VWHP
JHRPHWU\ D[HV
;
෥;
;
;
0
0
① SD54625 $SNS_MEA_TP_TRIG_MINUS_DIR_AX1
② SD54626 $SNS_MEA_TP_TRIG_PLUS_DIR_AX1
③ SD54627 $SNS_MEA_TP_TRIG_MINUS_DIR_AX2
④ SD54628 $SNS_MEA_TP_TRIG_PLUS_DIR_AX2
⑤ SD54629 $SNS_MEA_TP_TRIG_MINUS_DIR_AX3
⑥ SD54630 $SNS_MEA_TP_TRIG_PLUS_DIR_AX3
Figure 3-30
Tool probe, machine-related (G17)
• Workpiece-related measuring/calibrating:
The switching positions of the tool probe refer to the workpiece zero.
Data from the following general setting data are used:
<
=
7ULJJHU YDOXHV IRU SUREHV LQ WKH
7ULJJHU SRLQWV LQ WKH
ZRUNSLHFH FRRUGLQDWH V\VWHP
JHRPHWU\ D[HV
;
=
;
෥;
;;
;;
0
:
0
:
① SD54640 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX1
② SD54641 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX1
③ SD54642 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX2
④ SD54643 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX2
⑤ SD54644 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX3
⑥ SD54645 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX3
Figure 3-31
Tool probe, workpiece-related (G17)
Measuring cycles
280
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.6 Measure tool (milling)
Note
Workpiece-related or machine-related measurement requires an appropriately calibrated
tool probe, see Chapter Calibrate probe (CYCLE971) (Page 281).
Compensation strategy
The tool measuring cycle is intended for various applications:
• First measurement of a tool (general setting data SD54762
$SNS_MEA_FUNCTION_MASK_TOOL[Bit9]):
The tool offset values in geometry and wear are replaced.
The offset is applied in the geometry component of the length or the radius.
The wear component is deleted.
• Remeasuring a tool (general setting data SD54762
$SNS_MEA_FUNCTION_MASK_TOOL[Bit9]):
The resulting difference is calculated into the wear component (links or radius) of the tool.
Empirical values may optionally be included. A mean value is not calculated.
3.6.2
Calibrate probe (CYCLE971)
Function
This measuring version calibrates a tool probe machine-related or workpiece-related.
Values are corrected without empirical and mean values.
Measuring principle
The current clearances between machine zero (machine-related calibration) or workpiece zero
(workpiece-related calibration) and the tool probe trigger point are determined with the aid of
the calibration tool. The cycle positions the calibration tool to the probe.
Note
When using a disk as the probe type and the calibration method "axis-by-axis" or "complete -
with restricted directions of approach on the plane", the positions of the probe on the plane must
be precisely pre-entered into the setting data to ensure accurate measurement.
Additional information is provided in the SINUMERIK Operate Commissioning Manual
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
281
Measuring variants
3.6 Measure tool (milling)
Calibrate: Probe (CYCLE971), axis-by-axis
Calibrate: Probe (CYCLE971), complete
Axis-by-axis calibration
For "axis-by-axis" calibration, the probe is calibrated in the parameterized measuring axis and
measuring direction. The probing point can be centered in the offset axis. The actual center of
the tool probe is determined first in the offset axis before the calibration is performed in the
measuring axis.
<
'LVWDQFH IRU E\SDVV
')$
FDOLEUDWHG
')$
;
0
8QFKDQJHG
① General SD54627 $SNS_MEA_TP_TRIG_MINUS_DIR_AX2
② General SD54626 $SNS_MEA_TP_TRIG_PLUS_DIR_AX1
③ General SD54625 $SNS_MEA_TP_TRIG_MINUS_DIR_AX1
Figure 3-32
Calibrate probe (CYCLE971) with offset axis, example G17: Determine center in X, calibrate
in Y
Complete calibration
The tool probes are automatically calibrated for the "complete" calibration. Using the calibration
tool, the measuring cycle determines the tool probe trigger points in all axes or axis directions
in which the probe can be approached.
Additional information: Commissioning Manual SINUMERIK Operate
$SNS_MEA_TP_AX_DIR_AUTO_CAL or SD54647 $SNS_MEA_TPW_AX_DIR_AUTO_CAL.
Measuring cycles
282
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.6 Measure tool (milling)
The tool axis (for G17: Z) must always be able to be approached in the minus direction.
Otherwise no "complete" calibration is possible. Calibration is started in the 3rd axis, followed by
the axes of the plane. "Complete" calibration is shown in the following figures (example: G17).
&DOLEUDWLRQ WRRO
&DOLEUDWLRQ WRRO
=
=
<
<
;
;
Figure 3-33
Tool probe, disk and cube version
Before the first calibration operation in the plane, e.g. plus direction of the 1st axis, the precise
center of the probe is determined in the other axis (2nd axis), as long as the probe can be
approached in this axis. Additional movements are performed in the plane for this purpose.
<
=
'LVWDQFH IRU E\SDVV
')$
;
෥;
;
;
0
0
FDOLEUDWHG
① General SD54625 $SNS_MEA_TP_TRIG_MINUS_DIR_AX1
② General SD54626 $SNS_MEA_TP_TRIG_PLUS_DIR_AX1
③ General SD54627 $SNS_MEA_TP_TRIG_MINUS_DIR_AX2
④ General SD54628 $SNS_MEA_TP_TRIG_PLUS_DIR_AX2
⑤ General SD54629 $SNS_MEA_TP_TRIG_MINUS_DIR_AX3
⑥ General SD54630 $SNS_MEA_TP_TRIG_PLUS_DIR_AX3
Figure 3-34
Determining the probe center in the 2nd axis of the plane, calibration +X
Requirements
• The exact length and radius of the calibration tool must be stored in a tool offset data record.
This tool offset must be active when the measuring cycle is called.
• Tool type:
- Calibration tool (type 725)
- Milling tool (type 1xy)
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
283
Measuring variants
3.6 Measure tool (milling)
• The machining plane G17 or G18 or G19 must be defined prior to the cycle call.
• The approximate coordinates of the tool probe must be entered in the general setting data
before calibration starts (additional information is provided in the Commissioning
Manual SINUMERIK Operate).
These values are used to automatically approach the probe with the calibration tool and their
absolute value must not deviate from the actual value by more than the value in parameter
TSA.
• The probe must be reached within the total path 2 x DFA.
Starting position before the measurement
For "axis-by-axis" calibration, from the starting position, the cycle calculates the approach
distance to the probe and generates the appropriate traversing blocks. It must be ensured that
a collision-free approach is possible.
)
<
=
')$
')$
5
0LQLPXP
,PSHUPLV
UHFRPPHQGHG
VLEOH DUHD
GLVWDQFH
;
෥;
;
;
0
0
① General SD54626 $SNS_MEA_TP_TRIG_PLUS_DIR_AX1
② General SD54625 $SNS_MEA_TP_TRIG_MINUS_DIR_AX1
Figure 3-35
Starting positions for calibration in the plane, example: G17
Note
Calibrating in the 3rd axis of the measuring plane
If the tool diameter is larger, the calibration tool is positioned, offset by the tool radius, to the
center of the probe. The value of the offset is subtracted.
For "complete" calibration, the position before the cycle call should be selected so that a
collision-free, centered approach is possible above the probe center by measuring path DFA. The
axis sequence for the approach is first the tool axis (3rd axis) followed by the axes of the plane.
Position after the end of the measuring cycle
For "axis-by-axis" calibration, the calibration tool is positioned above the measuring surface by
measuring path DFA.
For "complete" calibration, the calibration tool is positioned about the center of the probe by
measuring path DFA.
Measuring cycles
284
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.6 Measure tool (milling)
Procedure
The part program or ShopMill program to be processed has been created and you are in the
editor.
1. Press the "Meas. tool" softkey.
2. Press the "Calibrate probe" softkey.
The input window "Calibrate: Probe" opens.
Parameter
G code program
ShopMill program
Parameter
Description
Unit
Parameter
Description
Unit
PL
Measuring plane (G17 - G19)
-
T
Name of the calibration tool
-
Calibration data set (1 - 6), in-
-
D
Cutting edge number (1 - 9)
-
put of variables possible1)
F
Calibration and measuring fee-
Distance/
Calibration data set (1 - 6), input
-
drate
min
of variables possible1)
F
Calibration and measuring fee-
mm/min
drate
Parameter
Description
Unit
Measurement
• Axis-by-axis calibration
-
type
• Complete calibration
Only for measuring mode "axis-by-axis" (for G17):
Measuring axis
X
Y
Z
-
Center probing
• No
• No
See tool offset
-
point
• In Y
• In X
Tool offset
Direction of the tool offset axis for large tools
-
• No
- Calibration in the 3rd axis: Calibration is performed, centered about the probe.
- Calibration in the plane: The precise probe center is not defined in the other axis
to the measuring axis.
• In X
- Calibration in the plane: Prior to the calibration in Y, the precise probe center in X
is determined.
- Calibration in the 3rd axis: See offset
• In Y
- Calibration in the plane: Prior to the calibration in X, the precise probe center in Y
is determined.
- Calibration in the 3rd axis: See offset
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
285
Measuring variants
3.6 Measure tool (milling)
Parameter
Description
Unit
Spindle reversal
Compensation of eccentricity through spindle reversal 2)
-
• Yes
• No
V
Lateral offset (only for measuring axis "Z", for G17)
mm
The offset is active during calibration of the 3rd measuring axis if the calibration tool
diameter is larger than the upper diameter of the probe. Here, the tool is offset from the
center of the probe by the tool radius, minus the value of V. An offset axis must be
specified.
DFA
Measurement path
mm
TSA
Safe area for the measurement result
mm
1)
The variable name must not be empty.
2)
The "Spindle reversal" function is shown if bit 11 is set in the general SD54762 $SNS_MEA_FUNCTION_MASK_TOOL .
Measuring variant, turning on a milling machine (only 840D sl)
Procedure
The part program or ShopTurn program to be edited has been created and you are in the editor.
1. Press the "Meas. workp." softkey.
2. Press the "Calibrate probe" softkey.
Parameter
ShopTurn program
Parameter
Description
Unit
T
Name of the probe
-
D
Cutting edge number (1 - 9)
-
Calibration data set (1 - 6), input
-
of variables possible1)
F
Calibration and measuring fee-
mm/min
drate
X
Start point X of the measurement
mm
Y
Start point Y of the measurement
mm
Z
Start point Z of the measurement
mm
1)
The variable name must not be empty.
Measuring cycles
286
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
Measuring variants
3.6 Measure tool (milling)
List of the result parameters
The measuring variant "Calibrate probe" provides the following result parameters:
Table 3-44
"Calibrate probe" result parameters
Parameters
Description
Unit
_OVR [8]
Trigger point in minus direction, actual value of 1st geometry axis
mm
_OVR [10]
Trigger point in plus direction, actual value of 1st geometry axis
mm
_OVR [12]
Trigger point in minus direction, actual value of 2nd geometry axis
mm
_OVR [14]
Trigger point in plus direction, actual value of 2nd geometry axis
mm
_OVR [16]
Trigger point in minus direction, actual value of 3rd geometry axis
mm
_OVR [18]
Trigger point in plus direction, actual value of 3rd geometry axis
mm
_OVR [9]
Trigger point in minus direction, difference of 1st geometry axis
mm
_OVR [11]
Trigger point in plus direction, difference of 1st geometry axis
mm
_OVR [13]
Trigger point in minus direction, difference of 2nd geometry axis
mm
_OVR [15]
Trigger point in plus direction, difference of 2nd geometry axis
mm
_OVR [17]
Trigger point in minus direction, difference of 3rd geometry axis
mm
_OVR [19]
Trigger point in plus direction, difference of 3rd geometry axis
mm
_OVR [27]
Work offset range
mm
_OVR [28]
Safe area
mm
_OVI [2]
Measuring cycle number
-
_OVI [3]
Measuring version
_OVI [5]
Probe number
-
_OVI [9]
Alarm number
-
3.6.3
Milling tool or drill (CYCLE971)
Function
With this measuring version, the tool length or the tool radius of milling and drilling tools can be
measured. With milling tools, optionally the cutting edge length or the cutting edge radius can
be measured (e.g. to check whether individual cutting edges of the milling tool have been
broken out), see Section, "individually check teeth".
A check is made whether the difference to be corrected in the entered tool length or to the
entered tool radius in the tool management lies within a defined tolerance range:
• Upper limit: Safe area TSA and dimensional difference control DIF
• Lower limit: Work offset range TZL
When this area is maintained, the measured tool length or the tool radius is entered in the tool
management, otherwise a message is output. Violation of the lower limit is not corrected.
Measuring cycles
Programming Manual, 10/2020, 6FC5398-4BP40-6BA4
287

 

 

 

 

 

 

 

Content      ..     2      3      4      5     ..