Brief details of this edition and previous editions are listed below.
The status of each edition is shown by the code in the "Remarks" column.
Status code in the "Remarks" column:
A ....New documentation.
B ....Unrevised edition with new Order No.
C ....Revised edition with new status.
If factual changes have been made on the page since the last edition, this is indicated by a
new edition coding in the header on that page.
0
EditionOrder No.Remarks
09.95
03.96
6FC5298-3AA01-0BP0
6FC5298-3AA70-0BP1
A
C
12.976FC5298-4AA70-0BP0C
12.986FC5298-5AA70-0BP0C
08.996FC5298-5AA70-0BP1C
06.006FC5298-5AA70-0BP2C
10.006FC5298-6AA70-0BP0C
09.016FC5298-6AA70-0BP1C
11.026FC5298-6AA70-0BP2C
This manual is included in the documentation available on CD ROM (DOCONCD)
EditionOrder No.Remarks
11.026FC5 298-6CA00-0BG3C
Trademarks
SIMATIC
POSMO
be trademarks which, if used by third parties, could infringe the rights of their owners.
Further information is available on the Internet under:
http:/www.ad.siemens.de/sinumeri k
This publications was produced with WinW ord V 8.0 and Designer V 7.0.
The reproduction, transmission or use of this document or its contents is not
permitted without express written authority. Offenders will be liable for damages.
All rights, including rights created by patent grant or registration of a utility model
or design, are reserved.
, SIMATIC HMI®, SIMATIC NET®, SIROTEC®, SINUMERIK®, SIMODRIVE® and SIMODRIVE
®
are registered trademarks of Siemens AG. Other product names used in this documentation may
Other functions not described in this documentation might be executable in the
control. This does not, however, represent an obligation to supply such functions
with a new control or when servicing.
We have checked that the contents of this document correspond to the hardware
and software described. Nonetheless, differences might exist and therefore we
cannot guarantee that they are completely identical. The information contained in
this document is, however, reviewed regularly and any necessary changes will be
included in the next edition. We welcome suggestions for improvement.
Siemens AG, 2002. All rights reserved
SINUMERIK 840D/840Di/810D User's Guide Measuring Cycles (BNM) – 11.02 Edition0-9
Preface11.02
0
Structure of the manual
0
840 D
NCU 571
840 D
NCU 572
NCU 573
810 D840 Di
Preface
Organization of documentation
The SINUMERIK documentation is organized on 3 different levels:
• General Documentation
• User Documentation
• Manufacturer/Service Documentation
Target group
This manual is aimed at machine tool users. It provides detailed information for
operating the SINUMERIK 840D, 810D.
Standard scope
This Operator's Guide describes only the functionality of the standard scope.
A description of add-on features or modifications made by the machine builder are
not included in this guide.
For more detailed information on SINUMERIK 840D, 810D publications and other
publications covering all SINUMERIK controls (e.g. universal interface, measuring
cycles...), please contact your local Siemens office.
Other functions not described in this documentation might be executable in the
control. This does not, however, represent an obligation to supply such functions
with a new control or when servicing.
Validity
This User's Guide is valid for the following controls:
SINUMERIK 810D, 840D, 840Di, MMC 100 and MMC 102/103.
Software versions stated in the User's Guide refer to the 840D and their 810D
equivalent, e.g. SW 6 (840D) corresponds to SW 3 (810D).
SINUMERIK 840D powerline
From 09.2001
• SINUMERIK 840D powerline and
• SINUMERIK 840DE powerline
are available, with improved performance. A list of the available
powerline modules can be found in the hardware description
/PHD/ in Section 1.1
SINUMERIK 810D powerline
From 12.2001
• SINUMERIK 810D powerline and
• SINUMERIK 810DE powerline
are available, with improved performance. A list of the available
powerline modules can be found in the hardware description
/PHC/ in Section 1.1
Fax form: See answer form at the end of the document.
http://www.ad.siemens.de/sinumerik
Ordering option
Explanation
Function
Parameters
Programming example
Programming
Further notes
Cross-reference to other documentation, chapters,
sections, or subsections
Notes and indication of danger
Additional notes or background information
Siemens AG, 2002. All rights reserved
SINUMERIK 840D/840Di/810D User's Guide Measuring Cycles (BNM) – 11.02 Edition0-11
Preface11.02
0
Use as intended
0
840 D
NCU 571
Warnings
The following warnings are used with graded severity.
840 D
NCU 572
NCU 573
810 D840 Di
Danger
Indicates an imminently hazardous situation which, if
not avoided, will result in death or serious injury or in
substantial property damage.
Warning
Indicates a potentially hazardous situation which, if not
avoided, could result in death or serious injury or in
substantial property damage.
Caution
Used with the safety alert symbol indicates a potentially
hazardous situation which, if not avoided, may result in
minor or moderate injury or in property damage.
Caution
Used without safety alert symbol indicates a potentially
hazardous situation which, if not avoided, may result in
property damage.
Notice
Used without the safety alert symbol indicates a
potential situation which, if not avoided, may result in an
undesirable result or state.
Your SIEMENS SINUMERIK 840D, 804Di, 810D is
state of the art and is manufactured in accordance
with recognized safety regulations, standards and
specifications.
Add-on equipment
Using special add-on equipment and expanded
configurations from SIEMENS, SIEMENS controls
can be adapted to suit your specific application.
Personnel
Only authorized and reliable personnel with the
relevant training must be allowed to handle the
control. Nobody without the necessary training must
be allowed to work on the control, not even for a
short time.
840 D
NCU 572
NCU 573
810 D840 Di
The responsibilities of the personnel employed for
setting, operating and maintenance must be clearly
defined and supervised.
Behavior
Before the control is started up, it must be ensured
that the Operator's Guide has been read and understood by the personnel responsible. The operating
company is also responsible for constantlymonitoring the overall technical state of the control
(faults and damage apparent from the outside and
changes in response).
Siemens AG, 2002. All rights reserved
SINUMERIK 840D/840Di/810D User's Guide Measuring Cycles (BNM) – 11.02 Edition0-13
Preface11.02
0
Use as intended
0
840 D
NCU 571
Service
Repairs must only be carried out in accordance with the
information given in the Service and Maintenance Guide
by personnel trained and qualified in the relevant
field. The relevant safety regulations must be observed.
Note
The following is contrary to the intended purpose and
exonerates the manufacturer from any liability:
Any use whatsoever beyond or deviating from the
application stated in the above points.
If the control is not in perfect technical condition, or
is operated without awareness for safety or the dangers
involved or without observing the instructions given in
the instruction manual.
840 D
NCU 572
NCU 573
810 D840 Di
If faults that can reduce safety are not remedied before
the control is started up.
Any modification, overriding or deactivation of
equipment on the control used for the perfect
functioning, unrestricted use or active and passive
safety.
Siemens AG, 2002. All rights reserved
SINUMERIK 840D/840Di/810D User's Guide Measuring Cycles (BNM) – 11.02 Edition1-15
Introduction12.97
1
1.1Basics
08.99
1
840 D
NCU 571
1.1Basics
Measuring cycles are general subroutines designed to
solve specific measurement tasks. They can be suitably
adapted to the problem at hand by means of parameter
settings.
With regard to measurement applications, a distinction
must generally be made between tool measurement
and workpiece measurement.
Workpiece measurement
For workpiece measurement, a measuring probe is
moved up to the clamped workpiece in the same way as
a tool. The flexibility of the measuring cycles makes it
possible to perform nearly all measurements which may
need to be taken on a milling machine.
An automatic tool offset or an additive ZO can be
applied to the result of the tool measurement.
The measurement variants which can be implemented
with the measuring cycles available in this configuration
are described on the following pages.
840 D
NCU 572
NCU 573
810 D840Di
Tool measurement
To perform tool measurement, the changed tool, which
in the case of a lathe is usually located in the turret, is
moved up to the probe which is either permanently fixed
or swiveled into the working range. The automatically
derived tool geometry is entered in the relevant tool
offset data record.
Certain preconditions need to be fulfilled before
measuring cycles can be used.
These conditions are described in greater detail in Part
2 Description of Functions (from Chapter 8 onwards).
The following checklist is useful in determining whether
all such preconditions are fulfilled:
Machine
• All machine axes are designed in accordance with
DIN 66217
Availability of cycles
• The data blocks:
GUD5.DEF and
GUD6.DEF
have been loaded into the control ("Definitions"
directory in file system) and
• the measuring cycles have been loaded into the
standard cycle directory of the control followed by a
power ON operation.
Initial position
• The reference points have been approached.
• All axes are positioned prior to the cycle call in such
a way that the setpoint position can be approached
without a change in direction.
• The start position can be reached without collisions
by means of linear interpolation.
Displaying measuring result screens
It is only possible to display measurement result
screens with an MMC/PCU.
810 D840Di
Siemens AG, 2002. All rights reserved
SINUMERIK 840D/840Di/810D User's Guide Measuring Cycles (BNM) – 11.02 Edition1-17
Introduction12.97
1
1.2General preconditions
09.01
1
840 D
NCU 571
Programming
• The inch/metric units system selected in the
• The milling radius compensation and the
• All parameters for the cycle call have been defined
• The cycle is called no later than at the 5th program
• Neither of the operating modes "Block search" or
• The specified default setting of the supplied data
• With measuring cycles SW 4.4 and higher,
• With measuring cycles SW 4.4 and higher,
840 D
NCU 572
NCU 573
machine data for the basic setting is active.
programmable frame are deselected prior to the
cycle call.
beforehand.
level.
"Dry run" is active since these are automatically
skipped by the measuring cycles.
blocks is required to ensure that all example
programs run correctly.
measurement in a programmed measurement
system that differs from the basic system is possible,
i.e. in a metric basic system with active G70 and in
an inch basic system with active G71.
measurement in a programmed measurement
system that differs from the basic system is possible
with technology data switched over. This means in a
metric basic system with active G700 and in an inch
basic system with active G710.
810 D840Di
Software status ID
In the delivery status of the measuring cycles, the
current software status of the control is entered in
parameter _SI[1] in the GUD6 block, i. e. 5 for SW 5.
This parameter must be changed to match the
measuring cycles to older software releases.
Example:
When using measuring cycles status 5.x.x on a control
with SW 4, à_SI[1] = 4
Precondition:
In order to use the measuring cycles, the software
Tool radius compensation planes G17, G18 or G19 can
be selected. Lengths 1, 2 and 3 are assigned as follows
to the axes depending on the tool type used:
G17 plane
Tool type100
Length 1applies to Z
Length 2applies to Y
Length 3applies to X
840 D
NCU 572
NCU 573
810 D840Di
Y
Ordinate
Abscissa X
Z
Applicate
G18 plane
Tool type100
Length 1applies to Y
Length 2applies to X
Length 3applies to Z
G19 plane
Tool type100
Length 1applies to X
Length 2applies to Z
Length 3applies to Y
X
Ordinate
Abscissa Z
Y
Applicate
Z
Ordinate
Abscissa Y
X
Applicate
Siemens AG, 2002. All rights reserved
SINUMERIK 840D/840Di/810D User's Guide Measuring Cycles (BNM) – 11.02 Edition1-19
Introduction12.97
1
1.4Suitable probes
1
840 D
NCU 571
1.4Suitable probes
Function
In order to measure tool and workpiece dimensions, a
touch-trigger probe is required that supplies a constant
signal (rather than a pulse) when deflected.
The probe must be capable of virtually bounce-free
switching. This is normally achieved by adjusting the
probe mechanically.
The probe type is defined in the measuring cycles in a
parameter.
Various types of probes made by different
manufacturers are available on the market. Probes are
classified in three groups according to the number of
directions in which they can be deflected.
Classification of probe types
Probe type Turning machines Milling mach. and mach. centers
Multidirectional
Bidirectional
Monodirectional
While a bidirectional probe can be used for turning
machines, with milling machines and machining centers
it is also possible to use a mono probe for workpiece
measuring.
The probe is defined in the measuring cycles in a
parameter.
With this type, measuring cycles for workpiece
measurement can be used without limitation.
Bidirectional probe
This probe type is used for workpiece measurement on
milling machines and machining centers.
This probe type is treated in the same way as a
monodirectional probe for workpiece measurement on
milling machines and machining centers.
840 D
NCU 572
NCU 573
810 D840Di
Monodirectional probe
Siemens AG, 2002. All rights reserved
SINUMERIK 840D/840Di/810D User's Guide Measuring Cycles (BNM) – 11.02 Edition1-21
This probe type can only be used for workpiece
measurement on milling machines and machining
centers with slight limitations; reference is made to this
in the cycles concerned.
In order to be able to use this type of probe on milling
machines and machining centers, it must be possible to
position the spindle with the NC function SPOS and to
transmit the switching signal of the probe through 360°
to the receiving station (at the machine column).
Introduction12.97
y
y
1
1.5Workpiece probe, calibration tool in TO memor
1
840 D
NCU 571
The probe must be mechanically aligned in the spindle in
such a way that measurements can be taken in the following directions at the 0 degree position of the spindle.
X-Y plane G17 positive X direction
Z-X plane G18 positive Z direction
Y-Z plane G19 positive Y direction
The measurement will take longer when using a
1.5Workpiece probe, calibration tool in TO memory
1.5.1Workpiece probe in TO memory for milling machines and machining centers
monodirectional probe since the spindle must be
positioned in the cycle several times by means of SPOS.
Workpiece probe
On milling machines and machining centers, the probe
is classified as tool type 1x0 and must therefore be
entered as such in the TO memory.
In SW 4 and higher, tool type 710 (3D probe) can also
be used.
Entry in TO memory
840 D
NCU 572
NCU 573
810 D840Di
P1710Tool type
P3L1Geometr
P6rGeometry
P21L1Tool base dimension
1.5.2Workpiece probe, calibration tool in TO memory on turning machines
840 D
NCU 572
NCU 573
810 D840Di
On turning machines, the probes are treated as tool
type 500 with the permissible tool edge positions 5 to 8
and must therefore be entered like this in the TO
memory. Measuring cycle SW 6.2 and higher also
allows you to enter probe type 580 with tool edge
positions 5 to 8. Due to their spatial positions, the
probes are divided into the following types:
Workpiece probe SL 5
Entry in TO memory
P1500Tool type
P25Tool edge position
P3L1Geometry
F
P4L2Geometry
P6rGeometry
P12L1Wear
P13L2Wear
L2
P15rWear
P21L1Tool base dimension
P22L2Tool base dimension
r
L1
Workpiece probe SL 6 (8)
(data in brackets is in front of turning center)
Entry in TO memory
L2
r
P1500Tool type
P26 (8)Tool edge position
P3L1Geometry
P4L2Geometry
P6rGeometry
L1
F
P12L1Wear
P13L2Wear
P15rWear
P21L1Tool base dimension
P22L2Tool base dimension
Siemens AG, 2002. All rights reserved
SINUMERIK 840D/840Di/810D User's Guide Measuring Cycles (BNM) – 11.02 Edition1-23
Introduction12.97
y
1
1.5Workpiece probe, calibration tool in TO memor
1
840 D
NCU 571
Workpiece probe SL 7
Entry in TO memory
840 D
NCU 572
NCU 573
810 D840Di
P1500Tool type
P27Tool edge position
P3L1Geometry
L1
F
r
P4L2Geometry
P6rGeometry
P12L1Wear
L2
P13L2Wear
P15rWear
P21L1Tool base dimension
P22L2Tool base dimension
Workpiece probe SL 8 (6)
(data in brackets is in front of turning center)
Entry in TO memory
P1500Tool type
P28 (6)Tool edge position
P3L1Geometry
F
P4L2Geometry
P6rGeometry
L1
P12L1Wear
P13L2Wear
P15rWear
P21L1Tool base dimension
P22L2Tool base dimension
r
L2
Calibration tool
On turning machines, the calibration tool is classified as
a tool with tool edge position 3 and must therefore be
entered as such in the TO memory.
Entry in TO memory
P1500Tool type
P23Tool edge position
L1
r
F
P3L1Geometry
P4L2Geometry
P6rGeometry
L2
P12L1Wear
P13L2Wear
P15rWear
P21L1Tool base dimension
P22L2Tool base dimension
Two inputs for the connection of touch trigger probes
are provided on the I/O device interface of the
SINUMERIK 840D and the FM-NC control systems.
Function
Evaluation of the measuring probe signal
If a measuring point is to be approached, a traverse
command is transmitted to the position control loop and
the probe is moved towards the measuring point. A
point behind the expected measuring point is defined as
setpoint position. As soon as the probe makes contact,
the actual axis value at the time the switching position is
reached is measured and the drive is stopped. The
remaining "distance-to-go" is deleted.
NC
Meas. cycle
Delete
distanceto-go
Act. val. acquis.
Position control
Actual
value
"On-the-fly" measurement
The principle of "on-the-fly" measurement is
implemented in the control. The advantage of this
method is that the probe signal is processed directly in
the NC.
Set position
Meas. dist. a
V
Delete
dist.-to-go
-V
S
=Traversing path by signal processing
1
=Following error
S
2
1) Actual value loaded with probe signal
Meas. dist. a
Act. position
S
2
S
1
Probe switching
point
1)
G0
Start position
= End position
G0
Siemens AG, 2002. All rights reserved
SINUMERIK 840D/840Di/810D User's Guide Measuring Cycles (BNM) – 11.02 Edition1-25
Introduction12.97
1
1.6Measuring principle
1
840 D
NCU 571
Start position/setpoint position
In the measuring procedure used, a position is specified
as setpoint value for the cycle at which the signal of the
touch-trigger probe is expected.
Since it is unlikely that the probe will respond at
precisely this point, the start position is approached by
the control in rapid traverse mode or at a defined
positioning velocity. The set position is then approached
at the feedrate specified in the parameter for
measurement speed. The switching signal is then
anticipated over a distance of a maximum length of 2a
from the start position.
Load actual value/delete distance-to-go
At the instant the switching signal is output by the
probe, the current position is stored internally "on-thefly" as the actual value followed by execution of the
"Delete distance-to-go" function.
Measuring path a/measuring speed
The path increment a is normally 1 mm, but can be
increased with a parameter when measuring cycles are
called.
The approach speed automatically increases from
150 mm/min to 300 mm/min if the value for a is defined
as greater than 1.
The maximum approach speed (measurement speed)
is thus dependent upon
• the permissible deflection path of the probe used
• the delay until "delete distance to go" is executed
Since an optimal measurement speed can be set for
measuring cycles via a parameter, it must be ensured
that safe deceleration can take place within the
deflection path of the probe.
The required deceleration path can be calculated as
follows:
2
sb = v t +
s
b
Deceleration pathin m
v
·
s
∆
1
2a
+ ∆s
∆
s
2
vApproach speedin m/s
tDelayin s
bDecelerationin m/s
2
sFollowing errorin m
Measuring accuracy
The repeat accuracy of the 840D and FM-NC controls
for "on-the-fly measurement" is ±1 µm.
The measuring accuracy which can be obtained is thus
dependent on the following factors:
• Repeat accuracy of the machine
• Repeat accuracy of the probe
• Resolution of the measuring system
Example: Path-time diagram
s [mm]
Deceleration
2
b = 1m/s
10
Ds
2
(11 mm)
Ds
1
(1.66 mm)
The deflection of the probe up to zero spee d of the axis is
approximately 12.6 mm with an approach speed of 6 m/min
and a delay of 1 m/s
Kv-Factor
1m/min
=
K
v
5
min
Zero speed
0
1 m/min
10
(16 ms) Delay until distance-to-go is deleted
2
!
6 m/min
Approach speed v
4 m/min
1010
Axis
zero speed
Zero speed
t [ms]
Siemens AG, 2002. All rights reserved
SINUMERIK 840D/840Di/810D User's Guide Measuring Cycles (BNM) – 11.02 Edition1-27
Introduction12.97
1
1.7Measuring strategy and compensation value calculation for tools
08.99
1
840 D
NCU 571
1.7Measuring strategy and compensation value calculation for tools with automatic tool
840 D
NCU 572
NCU 573
810 D840Di
offset
The actual workpiece dimensions must be measured
exactly in order to be able to determine and
compensate the actual dimensional deviations on the
workpiece.
Function
When taking measurements on the machine, the actual
dimensions are derived from the path measuring
systems of the position-controlled feed axes. For each
dimensional deviation determined from the set and
actual workpiece dimensions there are many causes
which essentially can be classified in 3 categories:
• Dimensional deviations with causes that are
n o t subject to a particular trend,
scatter of the feedforward axes or differences in
measurement between the internal measurement
(measuring probe) and the external measuring
device (micrometer, measuring equipment, etc.).
In this case, it is possible to apply so-called
empirical values, which are stored in separate
memories. The set/actual difference determined is
automatically compensated by the empirical value.
• Dimensional deviations with causes that a r e
subject to a particular trend
thermal expansion of the leadscrew.
These deviations are compensated by specifying
fixed threshold values.
• Accidental dimensional deviations, e.g. due to
temperature fluctuations, coolant or slightly soiled
measuring points.
1.7Measuring strategy and compensation value calculation for tools
1
840 D
NCU 571
840 D
NCU 572
NCU 573
810 D840Di
Assuming the ideal case, only those dimensional
deviations which are subject to a trend can be taken
into account for compensation value calculation. Since,
however, it is hardly ever known to what extent and in
which direction accidental dimensional deviations
influence the measurement result, a strategy (floating
average value generation) is needed which derives a
compensation value from the actual/set difference
measured.
Mean value calculation
Mean value calculation in combination with a higherorder measurement weighting has proved a suitable
means to do this.
The formula of the mean value generation chosen is:
MvD
−
MvMv
=−
newold
oldi
k
Mv
Mv
Mean value new = amount of compensation
new
Mean value prior to last measurement
old
kWeighting factor for average value calculation
D
Actual/set difference measured
i
(minus empirical value, if any)
The mean value calculation takes account of the trend
of the dimensional deviations of a machining series,
weighting factor k from which the mean value is
where
derived is selectable.
A new measurement result affected by accidental
dimensional deviations only influences the new tool
offset to some extent, depending on the weighting
factor.
Siemens AG, 2002. All rights reserved
SINUMERIK 840D/840Di/810D User's Guide Measuring Cycles (BNM) – 11.02 Edition1-29
Introduction12.97
1
1.7Measuring strategy and compensation value calculation for tools
08.99
1
840 D
NCU 571
Computational characteristic of the mean value
840 D
NCU 572
NCU 573
810 D840Di
with different weightings k (effects)
• The greater the value of k, the slower the formula
will respond when major deviations occur in
computation or counter compensation. At the same
time, however, accidental scatter will be reduced as
k increases.
• The lower the value of k, the faster the formula will
react when major deviations occur in computation or
counter compensation. However, the effect of
accidental variations will be that much greater.
• The mean value Mv is calculated starting at 0 over
the number of workpieces i, until the calculated
average value exceeds the range of "zero
compensation". From this limit on, the calculated
average value is applied for compensation.