Siemens SINUMERIK 840D sl Programming Manual

Siemens SINUMERIK 840D sl Programming Manual

Measuring cycles
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents
SINUMERIK SINUMERIK 840D sl/840D/840Di sl/840Di/810D Measuring cycles
SINUMERIK
SINUMERIK
840D sl/840D/840Di sl/840Di/810D
Measuring cycles
Programming Manual
Valid for
Control
SINUMERIK 840D sl/840DE sl
SINUMERIK 840Di sl/840DiE sl
SINUMERIK 840D powerline/840DE powerline
SINUMERIK 840Di powerline/840DiE powerline
SINUMERIK 810D powerline/810DE powerline
Software
NCU system software for 840D sl/840DE sl 1.3
Measuring cycles for 840D/840DE
Measuring cycles for 840Di/840DiE
Measuring cycles for 810D/810DE
Release 04/2006
6FC5398-4BP10-0BA0
Preface
______________
General
______________
Parameter description
Measuring cycle help
______________
programs
______________
Measuring in JOG
Measuring Cycles for Milling
______________
and Machining Centers
Measuring Cycles for
______________
Turning Machines
______________
Miscellaneous functions
______________
Hardware/software
______________
Data description
______________
Start-up (hardware)
Alarm, error, and system
______________
messages
Adaptation of the Measuring
______________
Cycles to Previous Software
Versions
______________
Appendix
______________
Version
List of abbreviations
7.4
______________
3.3
Parameter
7.4
1
2
3
4
5
6
7
8
9
10
11
12
A
B
C
Table of Contents
loading

Summary of Contents for Siemens SINUMERIK 840D sl

  • Page 1 Preface SINUMERIK SINUMERIK 840D sl/840D/840Di sl/840Di/810D Measuring cycles ______________ General ______________ Parameter description SINUMERIK Measuring cycle help ______________ programs SINUMERIK 840D sl/840D/840Di sl/840Di/810D ______________ Measuring in JOG Measuring cycles Measuring Cycles for Milling ______________ and Machining Centers Programming Manual Measuring Cycles for...
  • Page 2 Trademarks All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
  • Page 3 A list of documents, updated on a monthly basis and indicating the available languages, is available on the Internet at: http://www.siemens.com/motioncontrol Select "Support" → "Technical Documentation" → "Overview of Documents". The Internet version of the DOConCD (DOConWEB) is available at: http://automation.siemens.com/doconweb...
  • Page 4 A&D Technical Support Tel.: +49 (0) 180 / 5050 - 222 Fax: +49 (0) 180 / 5050 - 223 Internet: Email: mailto:[email protected] Asia and Australia time zone A&D Technical Support Tel.: +86 1064 719 990 Fax: +86 1064 747 474...
  • Page 5 Supplementary devices The applications of SIEMENS controls can be expanded for specific purposes through the addition of special add-on devices, equipment and expansions supplied by SIEMENS. Measuring cycles...
  • Page 6 Preface Measuring cycles Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 7: Table Of Contents

    Table of contents Preface ..............................iii General..............................1-1 Basics............................1-1 General prerequisites......................... 1-2 Behavior on block search, dry run, program testing, simulation..........1-3 Reference points on the machine and workpiece..............1-5 Definition of the planes, tool types ..................... 1-7 Probes that can be used ......................1-11 Probe, calibration body, calibration tool...................
  • Page 8 Table of contents 2.3.2 Number of the measuring axis: _MA..................2-5 2.3.3 Tool number and tool name: _TNUM and _TNAME ..............2-6 2.3.4 Offset number: _KNUM ......................2-7 2.3.5 Offset number _KNUM extended for tool offset: up to 9 digits..........2-10 2.3.6 Correcting setup and additive offset in workpiece measurement: _DLNUM ......
  • Page 9 Table of contents 4.2.6.1 General information ......................... 4-33 4.2.6.2 Measuring a plane that is oblique in space................4-34 4.2.7 Rejection, repetition, end of measurement ................4-35 4.2.7.1 Rejection and repetition of measurements ................4-35 4.2.7.2 Terminating the measurement ....................4-35 4.2.8 Cascaded measurement......................
  • Page 10 Table of contents 5.3.5 Calibrating a workpiece probe in the applicate determining probe length ....... 5-44 5.3.5.1 General information........................5-44 5.3.5.2 Programming example ......................5-46 5.3.5.3 Operational sequence ......................5-47 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes ....5-48 5.4.1 Function overview ........................
  • Page 11 Table of contents 5.8.3.1 General information ....................... 5-122 5.8.3.2 Programming example......................5-123 5.8.3.3 Operational sequence......................5-125 CYCLE997 workpiece: Measuring a sphere and ZO determination........5-127 5.9.1 Function overview ........................5-127 5.9.2 Measurement and ZO determination ..................5-132 5.9.2.1 General information ....................... 5-132 5.9.2.2 Operational sequence......................
  • Page 12 Table of contents 6.3.8 Measuring drills – special applications (from measuring cycles SW 6.3) ........ 6-55 CYCLE973 Calibrating workpiece probes................6-56 6.4.1 Function overview ........................6-56 6.4.2 Calibrating in the reference groove..................6-59 6.4.2.1 General information........................6-59 6.4.2.2 Programming example ......................6-61 6.4.2.3 Operational sequence ......................
  • Page 13 8.1.2.1 General information ........................8-1 8.1.2.2 SINUMERIK 810D, 840D powerline, 840Di................8-1 8.1.2.3 SINUMERIK 840D sl (solution line) probe connection to X122, NCU 7x0 ........ 8-6 8.1.3 Measuring in JOG ........................8-7 Software requirements....................... 8-7 8.2.1 How the measuring cycles are supplied ..................8-7 8.2.2...
  • Page 14 Table of contents 9.2.3 Central values .......................... 9-15 9.2.4 Central bits ..........................9-22 9.2.4.1 In data block GUD6.DEF......................9-22 9.2.4.2 Detailed description........................9-23 9.2.5 Central strings .......................... 9-26 9.2.6 Channel-oriented values ......................9-27 9.2.7 Channel-oriented bits ....................... 9-31 9.2.7.1 In data block GUD6.DEF......................9-31 9.2.7.2 Detailed description........................
  • Page 15 Table of contents 10.5.5 Step 4 – menu tree for extending measuring cycles.............. 10-15 10.5.6 Step 5 – configure measuring cycle support................10-16 10.5.7 Step 6 – incorporate text files....................10-16 10.5.8 Step 7 – incorporate files for measurement result display............. 10-17 10.5.9 Step 8 –...
  • Page 16 Table of contents Measuring cycles Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 17: General

    General Basics General information Measuring cycles are general subroutines designed to solve specific measurement tasks. They can be adapted to specific problems via parameter settings. When taking general measurements, a distinction is made between • tool measurements and • workpiece measurements. Workpiece measurements In workpiece measurement, a measuring probe is moved up to the clamped workpiece in the same way as a tool and the measured values are acquired.
  • Page 18: General Prerequisites

    General 1.2 General prerequisites Tool measurements In tool measurement, the selected tool is moved up to the probe and the measured values are acquired. The probe is either in a fixed in position or is swung into the working area with a mechanism.
  • Page 19: Behavior On Block Search, Dry Run, Program Testing, Simulation

    General 1.3 Behavior on block search, dry run, program testing, simulation Display functions of the measuring cycles An HMI/PCU is required for showing the measuring result displays and measuring cycle support. Please observe the following when programming: • Tool radius compensation is deselected before it is called (G40). •...
  • Page 20 General 1.3 Behavior on block search, dry run, program testing, simulation Excessive values of _MC_SIMDIFF with corresponding value assignment of the defining parameters cause cycle alarms to be output. Note It is not ensured that the correction value contains the correct sign of _MC_SIMDIFF. This depends on the measurement or calibration task and the direction of measurement.
  • Page 21: Reference Points On The Machine And Workpiece

    General 1.4 Reference points on the machine and workpiece Example 2: Calibrate tool probe (TESIM_982MKS with CYCLE982, turning technology) Reference points on the machine and workpiece General information Depending on the measuring task, measured values may be required in the machine coordinate system or in the workpiece coordinate system.
  • Page 22 General 1.4 Reference points on the machine and workpiece Reference points The position of tool reference point F in the machine coordinate system is displayed with machine zero M as the machine actual value. The position of the tool tip (active tool) in the workpiece coordinate system is displayed with workpiece zero W as the workpiece actual value.
  • Page 23: Definition Of The Planes, Tool Types

    General 1.5 Definition of the planes, tool types Note Transformation If kinematic transformation is active, the control makes a distinction between the basic coordinate system and machine coordinate system. If kinematic transformation is deactivated, this distinction is made. All descriptions provided below assume that kinematic transformation is deactivated and therefore refer to the machine coordinate system.
  • Page 24 General 1.5 Definition of the planes, tool types G18 plane Tool type 1xy / 2xy / 710 Length 1 active in Y (applicate) Length 2 active in X (ordinate) Length 3 active in Z (abscissa) G19 plane Tool type 1xy / 2xy / 710 Length 1 active in X (applicate) Length 2...
  • Page 25 General 1.5 Definition of the planes, tool types Turning Turning machines generally only use axes Z and X and therefore: G18 plane Tool type 5xy (turning tool, workpiece probe) Length 1 active in X (ordinate) Length 2 active in Z (abscissa) G17 and G19 are used for milling on a turning machine.
  • Page 26 General 1.5 Definition of the planes, tool types Example of plane definition for turning Measuring cycles 1-10 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 27: Probes That Can Be Used

    General 1.6 Probes that can be used Probes that can be used General information To measure tool and workpiece dimensions, a touch-trigger probe is required that provides a signal change (edge) when deflected. The probe must operate virtually bounce-free. Different types of probe are offered by different manufacturers. Probes are distinguished according to the number of measuring directions.
  • Page 28 General 1.6 Probes that can be used Notice • The measurement takes longer with mono probes since the spindle must be positioned in the cycle several times by means of SPOS. • In workpiece measurement, a bidirectional probe is treated like a mono probe. •...
  • Page 29: Probe, Calibration Body, Calibration Tool

    General 1.7 Probe, calibration body, calibration tool Probe, calibration body, calibration tool 1.7.1 Measuring workpieces on milling machines, machining centers Workpiece probe On milling machines and machining centers, the probe is classified as tool type 1xy or 710 (3D probe) and must therefore be entered as such in the tool memory. Entry in tool memory Tool type (DP1): 710 or 1xy...
  • Page 30: Measuring Tools On Milling Machines, Machining Centers

    General 1.7 Probe, calibration body, calibration tool Use of special gauging blocks is not supported on milling and machine centers. Use the same measuring velocity for calibrating and measuring. A special cycle is available for calibration. 1.7.2 Measuring tools on milling machines, machining centers Tool probe The tool probes have dedicated data fields _TP[ ] and _TPW[ ] in data block GUD6.DEF.
  • Page 31: Measuring Workpieces At The Turning Machines

    General 1.7 Probe, calibration body, calibration tool Entry in tool memory Tool type (DP1): Length 1 - geometry (DP3): Radius (DP6): Length 1 - basic measurement only if required (DP21): The wear and other tool parameters must be assigned the value 0. 1.7.3 Measuring workpieces at the turning machines Workpiece probe...
  • Page 32 General 1.7 Probe, calibration body, calibration tool Workpiece probe SL 8 Entry in tool memory Tool type (DP1): Cutting edge position (DP2): Length 1 - geometry: Length 2 - geometry: Radius (DP6): Length 1 - basic measurement only if required (DP21): Length 2 - basic measurement only if required...
  • Page 33 General 1.7 Probe, calibration body, calibration tool Calibration, gauging block A probe must be calibrated before it can be used. During calibration the triggering points (switching points), positional deviation (skew), and precise ball radius of the workpiece probe are determined and then entered in special data fields _WP[ ] in data block GUD6.DEF. The default setting has data fields for 3 probes.
  • Page 34: Measuring Tools At Lathes

    General 1.7 Probe, calibration body, calibration tool 1.7.4 Measuring tools at lathes Tool probe The tool probes have dedicated data fields _TP[ ] and _TPW[ ] in data block GUD6.DEF. The triggering points (switching points) are entered here. Approximate values must be entered here before calibration –...
  • Page 35 General 1.7 Probe, calibration body, calibration tool A probe must be calibrated before it can be used. Calibration involves precisely determining the triggering points (switching points) of the tool probe and entering them in special data fields. Calibration is performed with a calibration tool. The precise dimensions of the tool are known.
  • Page 36: Measurement Principle

    General 1.8 Measurement principle Measurement principle on-the-fly measurement The principle of "on-the-fly" measurement is implemented in the SINUMERIK control. The probe signal is processed directly on the NC so that the delay when acquiring measured values is minimal. This permits a higher measuring speed for the prescribed measuring precision and time needed for measuring is reduced.
  • Page 37 General 1.8 Measurement principle Measurement operation The procedure is described using the workpiece measurement. The procedure is the same for tool measurement. In this case, however, the tool is moved and the probe is fixed. Depending on its design, the actual movements of a machine may be different anyway. Workpiece measurement is described as follows: The workpiece is stationary and the probe moves.
  • Page 38 General 1.8 Measurement principle Measuring velocity The measuring velocity is dependent on the measurement path _FA and its default setting is 150 mm/min if _FA=1; if FA>1: 300 mm/min. Cycles parameter _VMS is then =0. Other measuring velocities can be set by the user to a value of >0 in _VMS (see Chapter 2). The maximum permissible measuring velocity is derived from: •...
  • Page 39 General 1.8 Measurement principle Calculation of the deceleration path The deceleration path to be considered is calculated as follows: Deceleration path in mm Measuring velocity in m/s Delay signal in s Deceleration in m/s Δs Following error in mm Δs = v / Kv v here in m/min Servo gain in (m/min)/mm...
  • Page 40: Measuring Strategy For Measuring Workpieces With Tool Offset

    General 1.9 Measuring strategy for measuring workpieces with tool offset Measuring accuracy A delay occurs between detection of the switching signal from the probe and transfer of the measured value to the control. This is caused by signal transmission from the probe and the hardware of the control.
  • Page 41 General 1.9 Measuring strategy for measuring workpieces with tool offset Assuming the ideal case, only those dimensional deviations that 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 (sliding averaging) is needed that derives a compensation value from the actual/set difference measured.
  • Page 42 General 1.9 Measuring strategy for measuring workpieces with tool offset • 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. •...
  • Page 43: Parameters For Checking The Measurement Result And Offset

    General 1.10 Parameters for checking the measurement result and offset 1.10 Parameters for checking the measurement result and offset 1.10 For constant deviations not subject to a trend, the dimensional deviation measured can be compensated by an empirical value in certain measuring variants. For other compensations resulting from dimensional deviations, symmetrical tolerance bands are assigned to the set dimension which result in different responses.
  • Page 44 General 1.10 Parameters for checking the measurement result and offset Note AUTOMATIC mode AUTOMATIC operation is interrupted and the program cannot continue. An alarm text appears to warn the user. Dimensional difference check _TDIF _TDIF is active only for workpiece measurement with automatic tool offset and for tool measurement.
  • Page 45 General 1.10 Parameters for checking the measurement result and offset 2/3 workpiece tolerance _TMV _TMV is active only for workpiece measurement with automatic tool offset. Within the range of "Lower limit" and "2/3 workpiece tolerance" the mean value is calculated according to the formula described in Section "Measuring strategy".
  • Page 46 General 1.10 Parameters for checking the measurement result and offset Note In measuring cycles, the workpiece setpoint dimension is placed in the middle of the permitted ± tolerance limit for reasons associated with symmetry. See Subsection 2.3.11 "Tolerance parameters..." • For tool measurement Measuring cycles 1-30 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 47 General 1.10 Parameters for checking the measurement result and offset • For workpiece measurement with zero offset • For workpiece probe calibration • For tool probe calibration Measuring cycles 1-31 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 48: Effect Of Empirical Value, Mean Value, And Tolerance Parameters

    General 1.11 Effect of empirical value, mean value, and tolerance parameters 1.11 Effect of empirical value, mean value, and tolerance parameters 1.11 The following flowchart shows the effect of empirical value, mean value, and tolerance parameters on workpiece measurement with automatic tool offset. Measuring cycles 1-32 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 49: Overview Of Measuring Cycle Functions For Milling Technology

    General 1.12 Overview of measuring cycle functions for milling technology 1.12 Overview of measuring cycle functions for milling technology 1.12 1.12.1 Tool measurement on milling machines, machining centers Measuring cycle CYCLE971 can be used to calibrate a tool probe and measure the tool length and/or radius for milling tools.
  • Page 50: Calibrating Workpiece Probes

    General 1.12 Overview of measuring cycle functions for milling technology 1.12.2 Calibrating workpiece probes With cycle CYCLE976 a workpiece probe can be calibrated in a hole (calibration ring) or on a surface for a particular axis and direction. Result: Probe switching point (trigger value), possibly an additional position deviation, active ball diameter of probe 1.12.3 Workpiece measurement at one point...
  • Page 51: Measuring The Workpiece Parallel To The Axis

    General 1.12 Overview of measuring cycle functions for milling technology Workpiece measurement: 1-point measurement Result: • Actual dimension • Deviation • Tool offset 1.12.4 Measuring the workpiece parallel to the axis The following measuring variants are provided for the paraxial measurement of a hole, shaft, groove, web, or rectangle.
  • Page 52 General 1.12 Overview of measuring cycle functions for milling technology Workpiece measurement: Measuring a shaft Result: • Actual dimension, deviation: Diameter, center point • Deviation: Tool offset of the zero offset Workpiece measurement: Measuring a groove Result: • Actual dimension, deviation: Groove width, groove center •...
  • Page 53 General 1.12 Overview of measuring cycle functions for milling technology Workpiece measurement: Inside rectangle Result: • Actual dimension, deviation: Rectangle length and width, rectangle center • Deviation: Tool offset of the zero offset Workpiece measurement: Outside rectangle Result: • Actual dimension: Rectangle length and width, rectangle center •...
  • Page 54: Measuring A Workpiece At An Angle

    General 1.12 Overview of measuring cycle functions for milling technology 1.12.5 Measuring a workpiece at an angle The following measuring variants are provided for the measurement of a hole, shaft, groove, or web at an angle. They are executed by CYCLE979. Three- or four-point measurement at an angle Result: •...
  • Page 55: Measuring A Surface At An Angle

    General 1.12 Overview of measuring cycle functions for milling technology 1.12.6 Measuring a surface at an angle CYCLE998 permits correction of the zero offset after measurement of a surface at an angle. It is still possible to determine the angles on an oblique surface in space. Workpiece measurement: Angle measurement Result: •...
  • Page 56: Measuring Spheres

    General 1.12 Overview of measuring cycle functions for milling technology 1.12.7 Measuring spheres CYCLE997 permits correction of the zero offset after measurement of a sphere or of three identically sized spheres on a common base (workpiece). Either paraxial measurement or measurement at an angle can be selected.
  • Page 57: Workpiece Measurement: Setting-Up A Corner

    General 1.12 Overview of measuring cycle functions for milling technology 1.12.8 Workpiece measurement: Setting-up a corner Using the CYCLE961 cycle, it is possible to determine the position of a workpiece corner (inner or outer) and use this as zero offset. Measuring a corner by specifying clearances and angles Result: •...
  • Page 58: Overview Of Measuring Cycle Functions For Turning Technology

    General 1.13 Overview of measuring cycle functions for turning technology 1.13 Overview of measuring cycle functions for turning technology 1.13 1.13.1 Measuring tools at lathes Cycle CYCLE982 is used to calibrate a tool probe and measure turning, drilling, and milling tools on turning machines.
  • Page 59: Calibrating Workpiece Probes

    General 1.13 Overview of measuring cycle functions for turning technology Result: • Tool length: length 1, length 2 • Milling cutter radius: R - for milling tools 1.13.2 Calibrating workpiece probes CYCLE973 permits calibration of a probe on a surface of the workpiece or in a calibration groove.
  • Page 60: Measuring Workpieces At Lathes: 1-Point Measurement

    General 1.13 Overview of measuring cycle functions for turning technology 1.13.3 Measuring workpieces at lathes: 1-point measurement CYCLE974 is used to determine the actual value of the workpiece in the selected measuring axis with reference to the workpiece zero with 1-point measurement. 1-point measurement, outside or inside Result: •...
  • Page 61: Measuring Workpieces At Lathes: 2-Point Measurement

    General 1.13 Overview of measuring cycle functions for turning technology 1.13.4 Measuring workpieces at lathes: 2-point measurement CYCLE994 is used to determine the actual value of the workpiece in the selected measuring axis with reference to the workpiece zero with 2-point measurement. This is done automatically by approaching two opposite measuring points on the diameter.
  • Page 62 General 1.13 Overview of measuring cycle functions for turning technology Measuring cycles 1-46 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 63: Parameter Description

    Parameter description Parameter concept of the measuring cycles General Measuring cycles are general subroutines designed to solve specific measurement tasks, which are suitably adapted to the problem at hand with parameter settings. They can be adapted for this purpose via defining parameters. The measuring cycles also return data such as measuring results.
  • Page 64: Parameter Overview

    Parameter description 2.2 Parameter overview Internal parameters Measuring cycles also require internal parameters for calculations. Local User Data (abbreviated to LUDs) are used in the measuring cycles as internal arithmetic parameter. These are set up in the cycle and exist only during runtime. Parameter overview 2.2.1 Defining parameters...
  • Page 65 Parameter description 2.2 Parameter overview Auxiliary parameters Additional parameters can generally be assigned once on a machine. They are then valid for each additional measuring cycle call until modified by programming or operation. Parameter Type Validity Default Meaning _VMS REAL CHAN Variable measuring speed REAL...
  • Page 66: Result Parameters

    Parameter description 2.2 Parameter overview Parameters for logging only Parameter Type Validity Meaning _PROTNAME[ ] STRING[32] [0]: Name of main program the log is from [1]: name of log file _HEADLINE[ ] STRING[80] 6 strings for protocol headers _PROTFORM[ ] Log formatting _PROTSYM[ ] CHAR...
  • Page 67: Description Of The Most Important Defining Parameters

    Parameter description 2.3 Description of the most important defining parameters Description of the most important defining parameters 2.3.1 Measurement variant: _MVAR Parameter The measuring variant of each individual cycle is defined in parameter _MVAR. _MVAR can be assigned certain positive integer values. Please refer to the individual cycle descriptions! Note Validity...
  • Page 68: Tool Number And Tool Name: _Tnum And _Tname

    Parameter description 2.3 Description of the most important defining parameters With some measuring variants, for example, in CYCLE998, positioning in another axis that must be defined, also called offset axis can be performed between measurements in the measuring axis. This must be defined in parameter _MA with offset axis/measuring axis. The higher digit codes the offset axis, the lower digit the measuring axis, the tens digit is 0.
  • Page 69: Offset Number: _Knum

    Parameter description 2.3 Description of the most important defining parameters 2.3.4 Offset number: _KNUM Parameter With measuring variant _MVAR you can select whether automatic tool offset will be used or a zero offset will be corrected in a workpiece measuring cycle. Parameter _KNUM contains the •...
  • Page 70 Parameter description 2.3 Description of the most important defining parameters 2. Specification _KNUM for zero offset: • _KNUM=0: No automatic ZO correction. • _KNUM=1... 99: Automatic ZO correction in settable frame / NV G54...G57, G505...G599. • _KNUM=1000: Automatic ZO correction in the last active channel basic frame according to MD 28081: MM_NUM_BASE_FRAMES.
  • Page 71 Parameter description 2.3 Description of the most important defining parameters Note Regarding 1) If bit 0 = 0, then corrections cannot be made in the basic frame in "Measuring in JOG" and the parameterization variant KNUM=2000 cannot be used when measuring in automatic mode! AUTOMATIC mode In the measuring cycles in AUTOMATIC mode the offset for the default setting is corrected...
  • Page 72: Offset Number _Knum Extended For Tool Offset: Up To 9 Digits

    Parameter description 2.3 Description of the most important defining parameters 2.3.5 Offset number _KNUM extended for tool offset: up to 9 digits Parameter For special tool offset structures (D number structures), parameter _KNUM can have up to nine digits. The "Flat D number" functionality is implemented as from NCK-SW 4. This function is defined with MD 18102: MM_TYPE_OF_CUTTING_EDGE=1.
  • Page 73: Correcting Setup And Additive Offset In Workpiece Measurement: _Dlnum

    Parameter description 2.3 Description of the most important defining parameters 2.3.6 Correcting setup and additive offset in workpiece measurement: _DLNUM Parameter Setup and additive offsets are assigned to the tool and a D number. Each D number can be assigned up to 6 setup and additive offsets using DL numbers in the program. If DL=0, no setup or additive offset is activated.
  • Page 74: Correcting The Tool Of A Stored Tool Environment: _Tenv

    Parameter description 2.3 Description of the most important defining parameters 2.3.7 Correcting the tool of a stored tool environment: _TENV Parameter As from NCK SW 6.3, you can save the operating environment of a particular tool you are using. This is to allow you to correct the tool used to measure a workpiece taking into account the operating conditions (environment: e.g.
  • Page 75 Parameter description 2.3 Description of the most important defining parameters In "flat D number " structure _TNUM has no significance. Here, only _KNUM (for D) and _DLNUM are relevant. Example 1: (without _TENV) The wear of length 1 is to be corrected additively for tool T7 with D2. The tool environment is to be the environment currently active (= measuring environment).
  • Page 76: Variable Measuring Velocity: _Vms

    Parameter description 2.3 Description of the most important defining parameters Example 6: (with TENV) Tool environment is to be the tool environment stored in "WZUMG3". However, the following is to be corrected irrespective of T, D, DL stored in it. For tool T6 with D2 the additive offset of DL=4 that is assigned to the length for tool type T6 and setting (G17, G18, or G19) stored in "WZUMG3"...
  • Page 77: Tolerance Parameters: _Tzl, _Tmv, _Tul, _Tll, _Tdif And _Tsa

    Parameter description 2.3 Description of the most important defining parameters 2.3.11 Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA In the "General section, measuring principle" chapter, the correction strategy of measuring cycles is explained and a description of the effect of the parameters given. Parameter Parameter Data type...
  • Page 78: Measurement Path: _Fa

    Parameter description 2.3 Description of the most important defining parameters 2.3.12 Measurement path: _FA Parameter Measurement path _FA defines the distance between the starting position and the expected switching position (setpoint) of the probe. _FA is data type REAL with values >0. Values <0 can only be programmed in CYCLE971 Always specify _FA in mm.
  • Page 79: Probe Type, Probe Number: _Prnum

    Parameter description 2.3 Description of the most important defining parameters Caution Even if inches is selected as the measuring system, measurement distance _FA is always specified in mm! In that case, convert the measurement distance to mm: _FA [mm] = _FA‘ [inch] · 25.4 Note In previous measuring cycle versions, _FA was the name for "multiplication factor of measurement distance".
  • Page 80: Empirical Value, Mean Value: _Evnum

    Parameter description 2.3 Description of the most important defining parameters Parameter Value of _PRNUM: >0, integer _PRNUM can only have three digits in workpiece measurement. In that case the most significant digit is evaluated as the probe type. The two least significant digits represent the probe number. Digit Meaning −...
  • Page 81: Multiple Measurement At The Same Location: _Nmsp

    Parameter description 2.3 Description of the most important defining parameters The default setting provides 20 values each (array index _EV, _MV: 0...19). Parameter Values of _EVNUM without empirical value, without mean value memory >0to 9999 Empirical value memory number = mean value memory number >9999 The top 4 digits of _EVNUM are interpreted as the mean value memory number, the lower 4 digits as the empirical value memory number.
  • Page 82 Parameter description 2.3 Description of the most important defining parameters Measuring cycles 2-20 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 83: Measuring Cycle Help Programs

    Measuring cycle help programs Measuring cycle subroutines 3.1.1 Overview General information The measuring cycle subroutines are called directly by the cycles. With the exception of CYCLE100, CYCLE101, and CYCLE116, these subroutines cannot be executed by a direct call. Programming Cycle Function Note CYCLE100...
  • Page 84: Cycle116: Calculation Of Center Point And Radius Of A Circle

    Measuring cycle help programs 3.1 Measuring cycle subroutines 3.1.2 CYCLE116: Calculation of center point and radius of a circle Function This cycle calculates from three or four points positioned on one plane the circle they inscribe with center point and radius. To allow this cycle to be used as universally as possible, its data are transferred via a parameter list.
  • Page 85 Measuring cycle help programs 3.1 Measuring cycle subroutines • Output data Parameter Data type Meaning _DATE [9] REAL Abscissa of circle center point _DATE [10] REAL Ordinate of circle center point _DATE [11] REAL Circle radius _DATE [12] REAL Status for calculation 0 Calculation in progress 1 Error occurred _ALM...
  • Page 86: Measuring Cycle User Programs

    Measuring cycle help programs 3.2 Measuring cycle user programs Measuring cycle user programs 3.2.1 General information Measuring cycle user programs CYCLE198 and CYCLE199 are called in the measuring cycles and can be used to program necessary adjustments before or after a measurement (e.g.
  • Page 87: Package Structure Of The Measuring Cycles

    Measuring cycle help programs 3.3 Package structure of the measuring cycles Package structure of the measuring cycles Note The machine data configuration and the software package version determine which programs can be used. It is also possible to partially define these programs in the global cycle data during start-up.
  • Page 88 Measuring cycle help programs 3.3 Package structure of the measuring cycles Measuring cycles Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 89: Measuring In Jog

    Measuring in JOG Overview General information There are two types of measurement: Workpiece measurement and tool measurement. These measurements may be undertaken • automatically (Cycles for automatic operations: refer to Milling technology chapter and Turning technology chapter) or • semi-automatically in JOG mode. The following chapter describes semi-automatic measurement for milling technology: measuring in JOG.
  • Page 90 Measuring in JOG 4.1 Overview To cancel measurement, press "RESET". Notice Be sure to select the correct channel! The "Measure in JOG" function is channel-specific. Calling CYCLE198, CYCLE199 CYCLE198 and CYCLE199 are called before and after a measurement, see Measuring cycle user program chapter.
  • Page 91 Measuring in JOG 4.1 Overview Requirements The prerequisites for "Measuring in JOG" are detailed in Part 2 "Function description". The following checklist is useful for determining whether the preconditions are fulfilled: • Machine – All machine axes are designed in accordance with DIN 66217. –...
  • Page 92 Measuring in JOG 4.1 Overview • General machine data for machine cycle runs These machine data are described in the "Data description, general machine data for machine cycle runs" chapter. • Special machine data and other data for measuring in JOG These special data and settings are described in the "Data description, data for measuring in JOG"...
  • Page 93: Workpiece Measurement

    Measuring in JOG 4.2 Workpiece measurement Workpiece measurement 4.2.1 Overview 4.2.1.1 General information The "measure workpiece" function permits set-up of a workpiece clamped onto a machine table. Reference points on the workpiece are measured by means of workpiece probes, and necessary ZO compensation is calculated and set.
  • Page 94 Measuring in JOG 4.2 Workpiece measurement 6. Input of setpoints – e.g. approximate diameter for hole/spigot – e.g. specifying the set positions in the meas. axis (at edge) – e.g. specifying the center point (for hole/spigot) or the corner point 7.
  • Page 95: Function Interface Of The Measuring Point Softkeys (P1

    Measuring 4th measuring point completed and measured value saved. Example The functionality shown can be used with a Siemens handheld unit (HHU) – when a measuring point has been successfully completed, an LED on the HHU keyboard is lit. The HHU key, assigned to this LED can then act from the sense as rejecting a measuring point.
  • Page 96: Measuring In Jog With Active Traori

    Measuring in JOG 4.2 Workpiece measurement 4.2.1.4 Measuring in JOG with active TRAORI Operational sequence The subsequent description refers to the following applications: • Measuring in JOG, with active TRAORI and applied measuring probe. • Measuring in JOG, in the rotated (swiveled) planes 1.
  • Page 97: Calibrating The Workpiece Probe

    Measuring in JOG 4.2 Workpiece measurement 4.2.2 Calibrating the workpiece probe 4.2.2.1 General information Prerequisite The workpiece probe is the active tool in the spindle with activated tool offsets. The approximate length and the radius of the measuring probe sphere must be entered in the tool data.
  • Page 98: General Information

    Measuring in JOG 4.2 Workpiece measurement 4.2.2.2 Calibrating probe length General information By selecting "length", it is possible to calibrate the probe in the infeed axis on a suitable and precisely known surface, e.g. on the workpiece. The precise length 1 (L1) of the prove is also determined and entered in the tool offset memory.
  • Page 99: Calibrating Probe Radius

    Measuring in JOG 4.2 Workpiece measurement Result Calibration is performed automatically as soon as you press "NC Start". Trigger value and length offset L1 are stored. 4.2.2.3 Calibrating probe radius General information With the "radius" selection, the probe can be calibrated in the axes of the working plane in a suitable hole (geometrical accuracy, low surface roughness) and precisely known diameter or in calibration ring.
  • Page 100: Measure Edge

    Measuring in JOG 4.2 Workpiece measurement Enter details in input form Enter the known dimension of the calibration ring diameter. Note the settings in data block GUD6: • Active zero offset during measurement: Variable _JM_I_[4]. • Active working plane during measurement: Variable _JM_I_[3].
  • Page 101 Measuring in JOG 4.2 Workpiece measurement Note Set the feedrate override to the same value as for calibration! See also Calibrating probe length (Page 4-10) Calibrating probe radius (Page 4-11) Measuring cycles 4-13 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 102: Setting The Edge

    Measuring in JOG 4.2 Workpiece measurement 4.2.3.2 Setting the edge This enable measurement of a reference point (paraxial edge) on a workpiece in one of the axes X, Y, or Z and setting as ZO (translation). Approaching the workpiece Position the probe in front of the edge. Enter details in input form •...
  • Page 103: Orienting The Edge

    Measuring in JOG 4.2 Workpiece measurement 4.2.3.3 Orienting the edge By measuring two points on a straight workpiece edge, it is possible to determine the angle position of this edge with respect to a reference axis. Orientation of the workpiece edge is possible by •...
  • Page 104 Measuring in JOG 4.2 Workpiece measurement Result Measurement is performed automatically at P1 with the set measuring feed as soon as you press "NC Start". Measurement is followed by rapid-traverse retraction to the starting position. After successful measurement, the measured value is stored internally and the "P1 stored" softkey that was previously switched inactive is activated.
  • Page 105: Distance 2 Edges

    Measuring in JOG 4.2 Workpiece measurement 4.2.3.4 Distance 2 edges This means that the distance L of two edges parallel to an axis at a workpiece, e.g.: Slot, rib, or step, can be determined in one of the axes X, Y or Z and their center set as reference point in a ZO.
  • Page 106 Measuring in JOG 4.2 Workpiece measurement after activating the selected ZO assumes the required setpoint position (e.g. X0) in the corrected workpiece coordinate system. Note • The rejection, repetition, and end of measurement are described in the "Reject, repeat, end of measurement" chapter. •...
  • Page 107: Measuring Corner

    Measuring in JOG 4.2 Workpiece measurement 4.2.4 Measuring corner 4.2.4.1 General information Prerequisite The workpiece probe is the active tool with activated tool offsets in the spindle and is already calibrated (refer to "Calibrating workpiece probe" chapter). Selection display After selecting "corner", a selection display is shown containing the following options: •...
  • Page 108: Right-Angled Corner

    Measuring in JOG 4.2 Workpiece measurement 4.2.4.2 Right-angled corner This permits measurement of a right-angled corner of a workpiece as the reference point in the axes of the working plane and setting it as the ZO (translation and rotation). 3 measuring points are required: P1, P2, and P3. The 1st axis of the working plane functions as the reference axis (for G17: X axis).
  • Page 109 Measuring in JOG 4.2 Workpiece measurement Display and correction After successful calculation and offset application, the coordinates of the corner point determined are displayed in the WCS active during measurement. Display of the translation frame components of the selected ZO is updated. If you have selected "Just measure", the corner point determined and the angle of the reference axis will only be displayed.
  • Page 110: Any Corner

    Measuring in JOG 4.2 Workpiece measurement 4.2.4.3 Any corner This permits measurement of a corner of a workpiece as the reference point in the axes of the working plane and setting it as the ZO (translation and rotation). The corner does not have to be right-angled. 4 measuring points are required: P1, P2, P3, and P4.
  • Page 111: Measuring Pocket, Hole Or Spigot

    Measuring in JOG 4.2 Workpiece measurement 4.2.5 Measuring pocket, hole or spigot 4.2.5.1 General information Prerequisite The workpiece probe is the active tool with activated tool offsets in the spindle and is already calibrated (refer to "Calibrating workpiece probe" chapter). Pocket/hole selection display After selecting "pocket/hole", a selection display is shown containing the additional following options:...
  • Page 112: Rectangular Pocket Or 1 Hole Or 1 Spigot

    Measuring in JOG 4.2 Workpiece measurement Spigot selection display After selecting "spigot", a selection display is shown containing the additional following options: • "Rectangular spigot" • "1 circular spigot" • "2 circular spigots" • "3 circular spigots" • "4 circular spigots" Note Feed override Set the feedrate override to the same value as for calibration!
  • Page 113 Measuring in JOG 4.2 Workpiece measurement Approaching the workpiece Position the probe roughly at measuring depth in the center of the pocket/hole, or in the case of spigots roughly in the center above the spigot. Measuring cycles 4-25 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 114 Measuring in JOG 4.2 Workpiece measurement Enter details in input form • Select of the ZO • For rectangular pocket, rectangular spigot: Enter approx. length (1st axis of operating plane) and width W (2nd axis of operating plane). • For hole, circular spigot: Enter the approximate diameter.
  • Page 115: Holes Or 2 Circular Spigots

    Measuring in JOG 4.2 Workpiece measurement 4.2.5.3 2 holes or 2 circular spigots This permits calculation of the basic rotation (rotation in the working plane) of the clamped workpiece. This enables orientation by: • "Coordinate rotation" or • rotation of the workpiece with a rotary table (rotary axis). For an angle offset by "coordinate rotation", it is possible to set the reference point for the calculated center of the 1st hole/spigot.
  • Page 116 Measuring in JOG 4.2 Workpiece measurement • Select the required angle offset: "Coordinate rotation" or axis name of the rotary axis • Under the "set angle" input, an orientation deviating from 0 degrees with respect to the 1st axis of the working plane (e.g., G17: X axis) is possible. •...
  • Page 117: Holes Or 3 Circular Spigots

    Measuring in JOG 4.2 Workpiece measurement 4.2.5.4 3 holes or 3 circular spigots This permits calculation of the reference point P0 and the "alpha" rotation of the clamped workpiece. This enables orientation by coordinate rotation and setting the center P0 of the partial circle on which the 3 holes/spigots are located as the reference point.
  • Page 118 Measuring in JOG 4.2 Workpiece measurement Result Measurement is performed automatically at P1 with the set measuring feed as soon as you press "NC Start". The probe probes 4 points of the inside and outside wall in succession. After successful measurement, the measured value is stored internally and the "P1 stored" softkey that was previously switched inactive is activated.
  • Page 119: Holes Or 4 Circular Spigots

    Measuring in JOG 4.2 Workpiece measurement 4.2.5.5 4 holes or 4 circular spigots This permits calculation of the reference point P0 and the "alpha" rotation of the clamped workpiece. This permits orientation by coordinate rotation and setting point P0 (intersection point of the 2 straight lines, whose hole centers are connected diagonally) as the reference point.
  • Page 120 Measuring in JOG 4.2 Workpiece measurement Result Measurement is performed automatically at P1 with the set measuring feed as soon as you press "NC Start". The probe probes 4 points of the inside and outside wall in succession. After successful measurement, the measured value is stored internally and the "P1 stored" softkey that was previously switched inactive is activated.
  • Page 121: Align Plane

    Measuring in JOG 4.2 Workpiece measurement 4.2.6 Align plane 4.2.6.1 General information Prerequisite The workpiece probe is the active tool with activated tool offsets in the spindle and is already calibrated (refer to "Calibrating workpiece probe" chapter). Selection display After selection of "orient plane", the following selection display is shown: Note Set the feedrate override to the same value as for calibration! Measuring cycles...
  • Page 122: Measuring A Plane That Is Oblique In Space

    Measuring in JOG 4.2 Workpiece measurement 4.2.6.2 Measuring a plane that is oblique in space That permits measurement of a workpiece plane that is oblique in space and determination of "alpha" and "beta" rotation. That enables orthogonal orientation of the infeed axis with respect to this plane by coordinate rotation.
  • Page 123: Rejection, Repetition, End Of Measurement

    Measuring in JOG 4.2 Workpiece measurement 4.2.7 Rejection, repetition, end of measurement 4.2.7.1 Rejection and repetition of measurements The last measurement (Px) can be declared invalid any number of times by pressing the assigned softkey "Px stored" . The softkey is then deactivated (grayed out). Pressing "NC start"...
  • Page 124 Measuring in JOG 4.2 Workpiece measurement detailed in the Measuring workpieces chapter, "Support of set-up in JOG - after measurement". The "Px stored" softkeys are then switched inactive and it is possible to start new measurement. The number of softkeys Px is determined with the measurement task. When the input screen form is exited, a measurement is also completed/interrupted.
  • Page 125: Cascaded Measurement

    Measuring in JOG 4.2 Workpiece measurement 4.2.8 Cascaded measurement Often, it is not possible to completely set-up a workpiece using just one single measurement; instead, a series of measurements has to be made. This results in certain interdependencies regarding the selected measuring series. Example •...
  • Page 126: Support Of Set-Up In Jog - After Measurement

    Measuring in JOG 4.2 Workpiece measurement 4.2.9 Support of set-up in JOG - after measurement 4.2.9.1 General information Compensation in the zero offset After an offset has been applied in the selected zero offset by the measuring function, this ZO is activated in JOG mode and the probe possibly oriented in the new WCS, e.g. for the following measurements.
  • Page 127: Example 1

    Measuring in JOG 4.2 Workpiece measurement 4.2.9.2 Example 1 Measurement 4 holes were measured. An offset is applied in a ZO that was not active during measurement. Reorientation of the probe is not necessary. The following selection display appears with information: Explanations on selection display The display for the measurement function "measure 4 holes"...
  • Page 128: Example 2

    Measuring in JOG 4.2 Workpiece measurement After pressing "NC start", the ZO with the applied offset is activated. It is not necessary to traverse axes. The previous measurement selection screen is then re-displayed. Measurement can be performed again. To avoid activating the ZO with the applied offset, exit the display by pressing the softkey "<<"...
  • Page 129 Measuring in JOG 4.2 Workpiece measurement After pressing "NC start", execution is performed according to the entries that the user made in the activation screen form: • Activating the corrected ZO or • Retracting the measuring probe and re-aligning/orienting it using the swivel cycle. The previous measurement selection screen is then re-displayed.
  • Page 130: Measuring The Tool

    Measuring in JOG 4.3 Measuring the tool Measuring the tool 4.3.1 Overview of function and sequence The "tool measurement" function permits the following functions. • Calibrating the tool probe • Determining the tool length or radius of milling tools, or tool length of drills and then setting the appropriate offset in the tool offset memory.
  • Page 131 Measuring in JOG 4.3 Measuring the tool Proceed as follows Approaching the tool measuring probe Position the calibration tool roughly over the center of the measuring surface of the tool probe. Select the function with softkey Continue with In the input screen form, select the type of calibration by pressing the "alternative" softkey. •...
  • Page 132: Measuring Milling Or Drilling Tools

    Measuring in JOG 4.3 Measuring the tool 4.3.3 Measuring milling or drilling tools Prerequisite • The specific GUD parameters used to measure tools are adapted to the real user conditions. • The reference points have been approached. • The tool probe is functional. •...
  • Page 133 Measuring in JOG 4.3 Measuring the tool Note Mathematical connection between measuring accuracy and measuring feed See Measuring cycles for milling and machining centers chapter, "Measurement and correction strategy". Proceed as follows Approaching the tool probe Position the active tool: •...
  • Page 134 Measuring in JOG 4.3 Measuring the tool Length measurement of milling cutters If the tool diameter (entered tool radius x 2) is greater than the entered upper diameter of the tool probe, the milling tool is placed in the center of the probe, offset by the tool radius and measured with rotating spindle (measuring the longest cutting edge).
  • Page 135: Measuring Cycles For Milling And Machining Centers

    Measuring Cycles for Milling and Machining Centers General prerequisites 5.1.1 General information The measuring cycles below are intended for use on milling machines and machining centers. Under certain conditions, workpiece measuring cycles CYCLE976, CYCLE977, and CYCLE978 can also be used on turning machines. To be able to run the measuring cycles described in this chapter, the following programs must be stored in the part program memory of the control.
  • Page 136: Overview Of The Auxiliary Programs Required

    Measuring Cycles for Milling and Machining Centers 5.1 General prerequisites 5.1.3 Overview of the auxiliary programs required Cycle Function CYCLE100 Log ON CYCLE101 Log OFF CYCLE102 Measurement result display selection CYCLE103 Preassignment of input data CYCLE104 Internal subroutine: Measuring cycle interface CYCLE105 Generate log contents CYCLE106...
  • Page 137 Measuring Cycles for Milling and Machining Centers 5.1 General prerequisites • When using a multidirectional probe the best measurement results are achieved if, during calibration and measurement, the probe in the spindle is mechanically oriented to have one and the same point on the probe ball point, for example, in the + direction of the abscissa (+X with active G17) in the active workpiece coordinate system.
  • Page 138: Cycle971 Tool: Measuring Milling Tools, Drills

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills CYCLE971 tool: Measuring milling tools, drills 5.2.1 Function overview Function Measuring cycle CYCLE971 implements: • Calibration of a tool probe • Measurement of the tool length with motionless or rotating spindle for drills and milling tools •...
  • Page 139 Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Result parameters The measuring cycle CYCLE971 returns the following values in the data block GUD5 for the measuring variant calibration: Parameter Data type Result _OVR [8] REAL Trigger point in minus direction, actual value of 1st geometry axis _OVR [10]...
  • Page 140: Measurement And Correction Strategy

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills 5.2.2 Measurement and correction strategy 5.2.2.1 Measuring strategy Pre-positioning the tool The tool must be aligned vertically with the probe before the measuring cycle is called. Tool axis parallel to center line of probe.
  • Page 141: Compensation Strategy

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills • Selection of the rotation direction depending on the cutting edge geometry to prevent hard impacts when probing. • Required measuring accuracy. When measuring with rotating tool the relation between measuring feedrate and speed must be taken into account.
  • Page 142: Compensation With Correction Table When Measuring With Rotating Spindle

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills 5.2.2.3 Compensation with correction table when measuring with rotating spindle When measuring tools with a rotating spindle, the measuring precision can be compensated for by additional compensation values during measurement of the cutter radius or cutter length.
  • Page 143 Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills _MT_EC_R m = 0 m = 1 m = 2 m = 3 m = 4 _MT_EC_L [n,m] speed value for 1st value for 2nd value for 3rd value for 4th radius/ radius/...
  • Page 144: Calibrating Tool Probes

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills 5.2.3 Calibrating tool probes 5.2.3.1 Calibration Function The cycle uses the calibration tool to ascertain the current distance dimensions between machine zero (machine-related calibration) and workpiece zero (workpiece- relatedcalibration) and the tool probe trigger points, and automatically loads them into the appropriate data area in data block GUD6.
  • Page 145 Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Parameter Parameter Data type Meaning _MVAR Calibrate tool probe (machine-related) Calibrate tool probe (workpiece-related) 10000 Calibrate tool probes incrementally (machine-related) 10010 Calibrate tool probe incrementally (workpiece-related) 1...3 Number of the measuring axis 103, 203...
  • Page 146: Programming Example 1

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills 5.2.3.2 Programming example 1 Fully calibrate tool probe (machine-related) Values of the calibration tool T7 D1: Tool type (DP1): Length 1 - geometry (DP3). L1 = 20.000 Radius - geometry (DP6): R = 5.000 Values of the tool probe 1 in data block...
  • Page 147: Programming Example 2

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills N85 _MA=1 ;Calibration in the X axis N90 CYCLE971 ;Calibration in minus X direction N100 SUPA Z100 ;Retract from probe in Z axis, rapid traverse N110 SUPA X10 ;In X axis move to position from which ;calibration in the plus direction is possible...
  • Page 148 Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills %_N_CALIBRATE_MTT_X_MPF N05 G0 G17 G94 G54 ;Define machining plane, zero offset and ;feed type N10 T7 D1 ;Select calibration tool N15 M6 ;Change calibration tool and ;activate compensation N30 G0 Z100 ;Position infeed axis over tool...
  • Page 149: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills 5.2.3.4 Operational sequence Position before measuring cycle call The calibration tool must be prepositioned as shown in the figure and for the selected variant. The tool must have reached a permissible starting position. With incremental calibration, there is no generation of traversing movements before the actual measured block.
  • Page 150 Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Note on calibrating in the 3rd measuring axis (_MA=3, _MA=103, _MA=203): If the tool diameter (2x $TC_DP6) is smaller than the upper diameter of the probe (_TP[i,6]), the calibration tool is always positioned in the center of the probe.
  • Page 151: Calibrating Tool Probes Automatically

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills 5.2.4 Calibrating tool probes automatically 5.2.4.1 Automatic calibration Function Measuring variants • _MVAR=100000 (machine-related) • _MVAR=100010 (workpiece-related) are used to calibrate the tool probe automatically. The cycle uses the calibration tool to determine the tool probe trigger points in all axes and loads them into the relevant data area of data block GUD6.
  • Page 152: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills 5.2.4.2 Programming example Calibrate tool probe automatically, machine-related for G17 Values of the calibration tool T7 D1: Tool type (DP1): Length 1 - geometry (DP3). L1 = 70.123 Radius - geometry (DP6): R = 5.000 Values of tool probe 1 in block GUD6...
  • Page 153: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills 5.2.4.3 Operational sequence Position before measuring cycle call The position before measuring cycle call can be anywhere, but: The cycle must be able to position the 1st calibration point at distance _FA above the center of the probe without collision.
  • Page 154 Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills This sequence applies to _TP[_PRNUM-1, 7]=133 or _TPW[_PRNUM-1, 7]=133: probe in Z axis can only be calibrated in minus direction, X, Y, in both directions. Value _TP[k, 7] or _TPW[k, 7] =133 is the default value. If some axes or axis directions on the probe cannot be approached the value must be changed.
  • Page 155: Measuring Tool

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills 5.2.5 Measuring tool 5.2.5.1 Measurement Function The cycle determines the new tool length or the new tool radius and checks whether the difference can be corrected with an empirical value to the old tool length or radius within a defined tolerance range (upper limits: Safe area _TSA and dimensional deviation check _TDIF, lower limit: Zero offset range _TZL,).
  • Page 156 Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills The monitoring functions from array _CM[] are not active! • If the spindle is motionless when the measuring cycle is called, the direction of rotation is determined from _CM[5].
  • Page 157 Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Measuring variants • Length measuring variants (Example: G17, machine-related) • Radius measuring variants (milling tool) (Example: G17, machine-related, _MA=1) Measuring cycles 5-23 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 158 Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Note If the tool diameter (2x $TC_DP6) is smaller than the upper diameter of the probe (_TP[i,6]), the tool is always positioned in the center of the probe, if the tool diameter is larger, the tool is offset by the tool radius toward the center onto the probe.
  • Page 159: Programming Examples 1

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills See also Variable measuring velocity: _VMS (Page 2-14) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 2-15) Measurement path: _FA (Page 2-16) Probe type, probe number: _PRNUM (Page 2-17) Empirical value, mean value: _EVNUM (Page 2-18) Multiple measurement at the same location: _NMSP (Page 2-19) 5.2.5.2...
  • Page 160 Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills %_N_T3_MEAS_MPF N01 G17 G90 G94 N05 T3 D1 ;Selection of the tool to be measured N10 M6 ;Insert tool, offset active N15 G0 SUPA Z100 ;Position infeed axis with probe N16 SUPA X70 Y90 SPOS=15 ;Position X/Y, align cutting edge ;(if needed)
  • Page 161: Programming Example 2

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills 5.2.5.3 Programming example 2 Measure radius of milling tool (workpiece-related) Milling tool T4 with D1 is to be remeasured in radius R (to ascertain wear). Radius measurement is to be performed with rotating spindle – in the X axis. A measured value deviation of <...
  • Page 162: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Explanation of example 2 The tool moves in N40 (in cycle) with its point from the starting position in N16 in Y to the center of the probe (_TPW[0,2] + (_TPW[0,3]) / 2); then in the measuring axis X (_MA=1, G17) to position (_TPW[0,0] + _FA + R).
  • Page 163: Cycle976 Calibrate Workpiece Probe

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe CYCLE976 calibrate workpiece probe 5.3.1 Function overview Function With milling machines and machining centers, the probe is usually loaded into the spindle from a tool magazine. This may result in errors when further measurements are taken on account of probe clamping tolerances in the spindle.
  • Page 164 Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe Determining the positional deviation of the workpiece probe A real workpiece probe can deviate from its ideal vertical position even when not deflected. This positional deviation (skew) can be determined with measuring variants in this cycle and then entered in the intended array of the workpiece _WP[i, 7] for abscissa and _WP[i, 8] for ordinate (for detailed data: refer to Data description chapter "Cycle data").
  • Page 165 Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe Measuring variants Measuring cycle CYCLE976 permits the following calibration variants which are specified via parameter _MVAR. • Calibration in hole (axes of the plane) Digit Measuring variant Hole (for measurement in the plane), center of the hole known Hole (for measurement in the plane), center of the hole not known With any data in the plane (workpiece-related) Without including probe ball in calculation...
  • Page 166 Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe Result parameters Measuring cycle CYCLE976 returns the following values in data block GUD5 for calibration: Parameter Data type Result _OVR [4] REAL Actual value probe ball diameter _OVR [5] REAL Difference probe ball diameter _OVR [6]1)
  • Page 167: Calibrating A Workpiece Probe In A Hole Of Known Hole Center Point

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe 5.3.2 Calibrating a workpiece probe in a hole of known hole center point 5.3.2.1 General information Function Using the measuring cycle and the _MVAR=xxxx01 measuring variant, it is possible to calibrate the probe in the axes of the plane (G17, G18, or G19) in a calibration ring.
  • Page 168: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe Parameter Parameter Data type Meaning _MVAR xxxx01 Calibration variant _SETVAL REAL, >0 Calibration setpoint = diameter of hole 1, 2 Meas. axis, only for _MVAR= xx1xx01, = xx2xx01 (only 1 axis or only 1 axis direction) 0 positive axis direction Meas.
  • Page 169 Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe The radius of the probe ball and length 1 must be entered in the tool offset memory under T9 D1, before the cycle is called. Tool type (DP1): Length 1 - geometry (DP3): L1 = 50.000 Radius - geometry (DP6):...
  • Page 170: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe 5.3.2.3 Operational sequence Position before measuring cycle call The probe must be positioned at the center of hole (MP) in the abscissa and the ordinate of the selected measuring plane and at the calibration depth in the hole. Axis sequence, axis direction sequence •...
  • Page 171: Calibrating A Workpiece Probe In A Hole Of Unknown Hole Center Point

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe 5.3.3 Calibrating a workpiece probe in a hole of unknown hole center point 5.3.3.1 General information Function Using the measuring cycle and the _MVAR=xx0x08 measuring variant, it is possible to calibrate the probe in the axes of the plane (G17, G18, or G19) in a calibration ring.
  • Page 172: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe Parameter Parameter Data type Meaning _MVAR xx0x08 Calibration in hole, center unknown _SETVAL REAL, >0 Calibration setpoint = diameter of hole _PRNUM >0 Probe number _STA1 REAL Starting angle, only for MVAR=1xxx08 (calibration performed at this angle) The following additional parameters are also valid: _VMS, _CORA, _TZL, _TSA, _FA and _NMSP.
  • Page 173 Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe The radius of the probe ball and length 1 must be entered in the tool offset memory under T10, D1, before the cycle is called. Tool type (DP1): Length 1 - geometry (DP3): L1 = 50.000 Radius - geometry (DP6):...
  • Page 174 Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe 5.3.3.3 Operational sequence Position before measuring cycle call The probe must be positioned near the hole center in the abscissa and the ordinate of the selected measuring plane and at the calibration height in the hole. Axis sequence, axis direction sequence •...
  • Page 175: General Information

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe 5.3.4 Calibration of a workpiece probe on a surface 5.3.4.1 General information Function Using this measuring cycle and the _MVAR=0 measuring variant, a workpiece probe can be calibrated in one axis and one direction on a known surface with sufficiently good surface roughness and which is perpendicular to the measuring axis.
  • Page 176 Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe The following additional parameters are also valid: _VMS, _CORA, _TZL, _TSA, _FA and _NMSP. _CORA only relevant for monodirectional probe. Notice The first time calibration is performed the default setting in the array of the probe is still "0". For that reason _TSA>probe ball radius must be programmed to avoid alarm "Safe area violated".
  • Page 177: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe 5.3.4.2 Programming example Calibrating a workpiece probe on the workpiece. Workpiece probe 1 is to be calibrated in the Z axis on the surface at position Z= 20,000 mm of a clamped workpiece: Determine trigger value in minus direction _WP[0.5]. Clamping for workpiece: Zero offset, with settable ZO G54: NVx, NVy, ...
  • Page 178: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe 5.3.4.3 Operational sequence Position before measuring cycle call The probe must be positioned facing the calibration surface. Recommended distance: >_FA. Position after end of measuring cycle When calibration is complete the probe (ball radius) is distance _FA from the calibration surface if _MA=3, if _MA=1 or _MA=2 it is at the starting position.
  • Page 179 Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe Parameter Parameter Data type Meaning _MVAR 10000 Calibration in applicate with length calculation _SETVAL REAL Calibration setpoint (position of surface) Measuring axis, only tool axis (applicate) possible 0 positive axis direction Measuring direction 1 negative axis direction _PRNUM...
  • Page 180: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe 5.3.5.2 Programming example Calibration of a workpiece probe in the Z axis on the workpiece with length calculation Workpiece probe 1 is to be calibrated in the Z axis on the surface at position Z= 20,000 mm of a clamped workpiece: Determine trigger value in minus direction _WP[0,5] and length 1 (L1).
  • Page 181: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe Explanation of example On cycle call, the probe travels in the minus Z direction max. 24 mm (_FA=12) at measuring feedrate 300 mm/min (_VMS=0, _FA>1). If the probe is triggered within this measuring path of 24 mm, length 1 (geometry) is calculated and entered in tool offset memory T9, D1, D3.
  • Page 182: Cycle977 Workpiece: Measure Hole/Shaft/Groove/Web/Rectangle Parallel To Axes

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes 5.4.1 Function overview Function With this measuring cycle you can measure the dimensions of the following contour elements on a workpiece using different measuring variants: •...
  • Page 183 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Workpiece probe types that can be used • Multidirectional probe (_PRNUM=xy) • Monodirectional, bidirectional probe (_PRNUM=1xy) Programming CYCLE977 Measuring variants Measuring cycle CYCLE977 permits the following measuring variants which are specified via parameter _MVAR: Value Measuring variant...
  • Page 184 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Result parameters Depending on the measuring variant _MVAR=xxx1 to _MVAR=xxx4, measuring cycle CYCLE977 supplies the following values as results in data block GUD5 (not for rectangle measurement, see next table for this): Parameter Data type...
  • Page 185 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Measuring cycle CYCLE977 supplies the following values as results in data block GUD5 depending on the rectangle measurement (_MVAR= xxx5, =xxx6) measuring variant: Parameter Data type Result _OVR [0] REAL...
  • Page 186: Measuring Contour Elements

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes 5.4.2 Measuring contour elements 5.4.2.1 General information Function Using this measuring cycle and various _MVAR measuring variants the following contour elements can be measured: _MVAR=xxx1 - hole _MVAR=xxx2 - shaft...
  • Page 187 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Measuring principle for groove or web The groove or web lies parallel to the axes of the workpiece coordinate system. 2 measuring points are measured with specified measuring axis _MA. The actual value of the groove width and web width and the actual position of the groove center and web center in relation to workpiece zero are calculated from the two measured values.
  • Page 188 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Options for hole and shaft diameter, groove or web width, and tool compensation. • An empirical value from data block GUD5 can be included with the correct sign. •...
  • Page 189: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes With _TSA, the diameter or width is monitored for "tool compensation", the center for "ZO determination". _CORA only relevant for monodirectional probe. See also Variable measuring velocity: _VMS (Page 2-14) Offset angle position: _CORA (Page 2-14) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 2-15) Measurement path: _FA (Page 2-16)
  • Page 190 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes The probe is already calibrated. Arrays for workpiece probe 1: _WP[0, ...] The following is entered under T9, D1 in the tool offset memory: Tool type (DP1): Length 1 - geometry (DP3): L1 = 50.000 Radius - geometry (DP6):...
  • Page 191: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes 5.4.2.3 Operational sequence Specification of setpoints • For diameter and/or with using _SETVAL • For the lengths of the rectangle using _SETV[0], _SETV[1] The position of the probe in the abscissa, ordinate at the beginning of a cycle is evaluated for the setpoint of the center point of a hole, shaft, or rectangle, or for the center of a groove, web.
  • Page 192 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Position before measuring cycle call for shaft, web, rectangle - outside _MVAR Pre-positioning in the plane in applicate 2/102 Shaft center point Above shaft 4/104 Web center, meas.
  • Page 193 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Position before measuring cycle call when measuring with safety zone _MVAR Pre-positioning in the plane in applicate 1001/1101 Hole center point Above hole 1003 /1103 Groove center, meas.
  • Page 194 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Specification of safety zone: The safety zone (diameter or width) for shaft, hole, web, and groove is defined in _SZA. For a rectangle, the safety zone (length) is defined with _SZA in the abscissa and with _SZO in the ordinate.
  • Page 195: Measuring And Tool Offset

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes 5.4.3 Measuring and tool offset 5.4.3.1 General information Function Using this measuring cycle and the _MVAR = x0xx measuring variant, a hole, shaft, groove, a web, or a rectangle can be measured paraxially. Automatic tool offset is also possible.
  • Page 196 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Parameter Data type Meaning Length of the safety zone in the abscissa • (only for measuring rectangle) _SZO REAL, >0 Length of the protection zone in the ordinate (only for measuring rectangle) 1...2 Number of measuring axis (only for measuring a groove or a web)
  • Page 197: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes 5.4.3.2 Programming example Measuring a hole - paraxially with tool offset The diameter of a hole in a workpiece is to be measured in the G17 plane and the radius of a tool corrected accordingly.
  • Page 198 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes %_N_DRILL_MEASURE_MPF N10 G54 G17 G90 T9 D1 ;ZO, select tool as probe ... N20 M6 ;Insert probe, ;activate tool offset N30 G0 X180 Y130 ;Position probe in X/Y plane to ;hole center point N40 Z20 ;Position Z axis to measuring depth...
  • Page 199: Measurement And Zo Determination

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes 5.4.4 Measurement and ZO determination 5.4.4.1 General information Function Using this measuring cycle and the _MVAR = x1xx measuring variant, a hole, shaft, groove, a web, or a rectangle can be measured paraxially. The zero offset (ZO) of the associated workpiece can also be determined and corrected.
  • Page 200 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Parameter Parameter Data type Meaning _MVAR ZO calculation in hole with ZO compensation ZO determination on a shaft with ZO correction ZO determination in a groove with ZO correction ZO determination on a web with ZO correction ZO determination in inside rectangle with ZO correction ZO determination in outside rectangle with ZO correction...
  • Page 201: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes 5.4.4.2 Programming example ZO determination on a rectangle with CYCLE977 In the G17 plane, an outside rectangle web is to be measured with setpoint lengths width in X=100.000 and in Y=200.00 mm.
  • Page 202 Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes %_N_ZO_RECTANGLE_MPF N10 G54 G17 G90 T9 D1 ;ZO, select tool as probe ... N20 M6 ;Insert probe, ;activate tool offset N30 G0 X150 Y170 ;Position probe in X/Y plane to ;rectangle center (setpoint position) N40 Z120 ;Position Z axis above rectangle...
  • Page 203: Cycle978 Workpiece: Measuring A Surface Parallel To The Axis

    Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis CYCLE978 workpiece: Measuring a surface parallel to the axis 5.5.1 Function overview Function This measuring cycle determines the position of a paraxial surface in the workpiece coordinate system.
  • Page 204 Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis Preconditions for differential measurement • Spindle can be positioned between 0...360 degrees (at least every 90 degrees, with SPOS command) • Multidirectional probe (all-round coverage) Programming CYCLE978 Measuring variants...
  • Page 205: Measuring The Surface

    Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis Parameter Data type Result _OVR [28] REAL Safe area REAL Dimensional difference _OVR [29] _OVR [30] REAL Empirical value REAL Mean value _OVR [31] _OVI [0] INTEGER D number or ZO number...
  • Page 206 Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis Position after end of measuring cycle After the end of the measuring cycle, the probe (ball circumference) is at a distance _FA from the measuring surface. Notice Precise measurement is only possible with a probe calibrated under the measurement conditions, i.e.
  • Page 207: Measurement And Zo Determination

    Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis 5.5.3 Measurement and ZO determination 5.5.3.1 General information Function Using this measuring cycle and the _MVAR=100, _MVAR=1100 measuring variants, the position of a paraxial surface can be determined in the workpiece coordinate system.
  • Page 208: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis See also Variable measuring velocity: _VMS (Page 2-14) Offset angle position: _CORA (Page 2-14) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 2-15) Measurement path: _FA (Page 2-16) Probe type, probe number: _PRNUM (Page 2-17) Empirical value, mean value: _EVNUM (Page 2-18)
  • Page 209 Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis Workpiece probe 1, used as tool T9, D1, is to be used. The probe is already calibrated. Arrays for workpiece probe 1: _WP[0, ...] The following is entered under T9, D1 in the tool offset memory: Tool type (DP1):...
  • Page 210: Measuring And Tool Offset

    Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis Explanation of example Automatic compensation is performed in G54 – translation of axes X and Y by the calculated difference between actual value and setpoint. The setpoints and actual values as well as the differences are entered in result array OVR[ ].
  • Page 211 Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis Parameter Parameter Data type Meaning _MVAR Measure surface and tool offset 1000 Measure surface with differential measurement and tool offset _SETVAL REAL, >0 Setpoint (acc.
  • Page 212: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis 5.5.4.2 Programming example 1-point measurement in X axis with tool compensation A surface parallel with the Y axis has been machined with milling tool T20, D1 on a set-up workpiece.
  • Page 213 Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis %_N_ONE_POINT_MEASURE_MPF N10 G54 G17 G90 T9 D1 ;ZO, select tool as probe ... N20 M6 ;Insert probe, ;activate tool offset N30 G0 G90 X120 Y150 ;Position probe in X/Y plane in front of ;measuring surface N40 Z40...
  • Page 214: Cycle979 Workpiece: Measure Hole/Shaft/Groove/Rib At An Angle

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle 5.6.1 Function overview Function With this measuring cycle you can measure the dimensions of the following contour elements on a workpiece using different measuring variants: •...
  • Page 215 Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle Workpiece probe types that can be used • Multidirectional probe (_PRNUM=0xy) • Monodirectional, bidirectional probe (_PRNUM=1xy) When measuring contour elements hole, shaft, a 3- or 4-point measurement can be used. Parameters for this selection are only set in this cycle, in the 4th digit of _PRNUM: _PRNUM=0zxy ⇒...
  • Page 216 Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle Parameter Data type Result _OVR [16] REAL Difference diameter/width hole, shaft, groove, web _OVR [17] REAL Difference center point/center in abscissa _OVR [18] REAL Difference center point/center in ordinate REAL Compensation value _OVR [20]...
  • Page 217: Measure Shaft, Groove, Web

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle 5.6.2 Measure shaft, groove, web 5.6.2.1 General information Function Using this measuring cycle and various _MVAR measuring variants the following contour elements can be measured at an angle: •...
  • Page 218 Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle Measuring principle for groove or web The measuring cycle measures points P1 and P2 inside the groove and outside the web. The actual value of the groove width and web width and the position of the groove center and web center in relation to workpiece zero are calculated from the measured values.
  • Page 219 Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle 5.6.2.2 Operational sequence Specification of setpoints The setpoint for diameter or width is specified in _SETVAL. The setpoint for the center point of the hole, shaft, or for the measured center of the groove, web, is specified by •...
  • Page 220 Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle Procedure for hole, shaft The intermediate positions of the measuring points are approached along a circular path (G2, G3). The distance between the probe ball (ball circumference) and the hole or shaft is _FA.
  • Page 221 Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle Position at end of measuring cycle At the end of the measuring cycle, the probe (ball circumference) is distance _FA (path) from the last measuring point (setpoint) at measuring height. Notice The range of positions of the center or diameter, or groove, web width, must be within the value specified in _FA for all workpieces to be measured.
  • Page 222: General Information

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle 5.6.3 Measuring and tool offset 5.6.3.1 General information Function Using this measuring cycle and various _MVAR=1...4 measuring variants, the contour elements hole, shaft, groove, web, can be measured at an angle.
  • Page 223 Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle Parameter Data type Meaning REAL, >0 Feed for circular interpolation (mm/min) (only measure for hole and/or shaft) _KNUM 0, >0 0: without automatic tool offset >0: with automatic tool offset (Individual values: see Parameter description section "Description of the most important defining parameters", Parameter _KNUM)
  • Page 224: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle 5.6.3.2 Programming example Measuring a hole with CYCLE979 The trueness of a circular segment in plane G17 (semi-circle, contour element "hole") is to be checked. Machining was performed with milling tool T20, D1. With a variance of >0.01 mm from the setpoint diameter _SETVAL = 130 mm, the tool radius of this tool should be automatically offset in the wear.
  • Page 225 Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle %_N_DRILL_SEGMENT_MPF N10 G54 G17 G90 T9 D1 ;ZO, select tool as probe ... N20 M6 ;Insert probe, ;activate tool offset N30 G0 X210 Y-20 ;Position probe in X/Y plane close to N40 Z20 ;Position probe at measuring height N50 _CHBIT[4]=1...
  • Page 226: General Information

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle 5.6.4 Measurement and ZO determination 5.6.4.1 General information Function Using this measuring cycle and the _MVAR=10x measuring variant, a hole, shaft, groove or a web can be measured at an angle. The zero offset (ZO) of the associated workpiece can also be determined and corrected.
  • Page 227 Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle Parameter Parameter Data type Meaning _MVAR ZO calculation in hole with ZO compensation ZO calculation on shaft with ZO compensation ZO calculation in groove with ZO compensation ZO calculation on web with ZO compensation _SETVAL REAL, >0...
  • Page 228: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle 5.6.4.2 Programming example Measuring a groove and determining the ZO with CYCLE979 The groove width on a workpiece is to be measured in plane G17 and measuring height Z=40 mm.
  • Page 229: Cycle998 Workpiece: Angle Measurement And Zo Determination

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination Explanation of example Automatic compensation is performed in G55, offset in X and Y by the calculated difference between the actual value and set position of the groove center point, should it be less than 1 mm (_TSA) in both axes.
  • Page 230 Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination With 2-angle measurement: • If a workpiece has a plane that is inclined in space: The angular offsets are applied in the rotation part of the geometry axes. The angular position is corrected, taking account of set angles in the specified frame (ZO).
  • Page 231 Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination Preconditions for differential measurement • Spindle can be positioned between 0...360 degrees (at least every 90 degrees, with SPOS command) • Multidirectional probe (all-round coverage) Maximum measurement angle The cycle is capable of measuring a maximum angle of -45 ...
  • Page 232: 1-Angle Measurement

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination Parameter Data type Result REAL Offset value angle about 3rd axis of the plane _OVR [23] _OVR [28] REAL Safe area _OVR [30] REAL Empirical value _OVI [0] INTEGER ZO number...
  • Page 233 Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination The ZO can be specified and corrected by various methods, e.g. in various settable frames, in various basic frames, system frames. If _KNUM=0, there is no ZO correction. For detailed information on specifying _KNUM for the zero offset: see Parameter description section "Description of the most important defining parameters".
  • Page 234: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination The following additional parameters are also valid: _VMS, _CORA, _TSA, _FA, _PRNUM, _EVNUM and _NMSP _CORA only relevant for monodirectional probe. With _TSA, the difference of the angle is monitored and this value is additionally traversed to _STA1 with intermediate positioning at an angle.
  • Page 235 Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination Workpiece probe 1, used as tool T9, D1, is to be used. The probe is already calibrated. Arrays for workpiece probe 1: _WP[0, ...] The following is entered under T9, D1 in the tool offset memory: Tool type (DP1): Length 1 - geometry (DP3):...
  • Page 236: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination 5.7.2.3 Operational sequence General information Measurement axis _MA In this cycle, not only the measuring axis but also the offset axis are specified in _MA. The offset axis is the 2nd axis of the measuring plane.
  • Page 237 Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination _STA1 set angle The setting in _MA makes all 3 measurement planes possible. The set angle _STA1 therefore refers to the positive direction of the offset axis and is negative in the clockwise direction, positive in the counterclockwise direction.
  • Page 238 Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination Procedure with MVAR=00x105: Intermediate positioning at an angle Position before measuring cycle call The probe is positioned with respect to the surface to be measured in such a way that during traversal of the measuring axis _MA specified in the direction of the setpoint _SETVALmeasuring point 1 on the surface will be reached.
  • Page 239 Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination Procedure with MVAR=10x105: paraxial intermediate positioning Position before measuring cycle call The probe is positioned with respect to the surface to be measured in such a way that during traversal in the specified measuring axis _MA and direction of the measurement in _MD both measuring points on the surface within the total measurement path: 2 ·...
  • Page 240 Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination 2. With the spindle position that applied at the beginning of the cycle. The tool radius of the probe + R or - R is defined as the trigger point defined for the axis direction.
  • Page 241: 2-Angle Measurement

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination 5.7.3 2-angle measurement 5.7.3.1 General information Function Using the measuring variants _MVAR=106 and _MVAR=100106 , it is possible to calculate and correct the angular position of a plane oblique in space on a workpiece by measuring three points.
  • Page 242: Programming Example 1

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination See also Variable measuring velocity: _VMS (Page 2-14) Offset angle position: _CORA (Page 2-14) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 2-15) Measurement path: _FA (Page 2-16) Empirical value, mean value: _EVNUM (Page 2-18) Multiple measurement at the same location: _NMSP (Page 2-19)
  • Page 243 Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination Workpiece probe 1, used as tool T9, D1, is to be used. The probe is already calibrated. Arrays for workpiece probe 1: _WP[0, ...] The following is entered under T9, D1 in the tool offset memory: Tool type (DP1): Length 1 - geometry (DP3):...
  • Page 244: Programming Example 2

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination 5.7.3.3 Programming example 2 Orientation of an oblique workpiece surface for remachining using CYCLE800 Initial state • The workpiece is clamped on the swivel table (swiveling workpiece holder) and aligned roughly paraxially to the machine axes.
  • Page 245 Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination _NMSP=1 _FA=40 _STA1=0 _INCA=0 ;for probe, safe area 20°, _MVAR=100106 _MD=1 _ID=50 _SETV[0]=35 ;without empirical value, number of _KNUM=4 measurements ;at same position =1, measurement path 40 ;angles 1 and 2 = 0, 2 angle measurement with ;paraxial positioning, measurement...
  • Page 246 Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination N780 Z20 ;Raise in Z ;The oblique surface is now completely set N1000 M2 ;End of program Comment about CYCLE800 The swivel cycle CYCLE800 is used to measure and operate on any surface by converting the active workpiece zero and the active tool offset to the oblique surface in the cycle by calling the relevant NC functions, taking account of the kinematic chain of the machine, and positioning the rotary axes.
  • Page 247: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination 5.7.3.4 Operational sequence Position before measuring cycle call Before the cycle is called, the probe must be positioned over the 1st measuring point (P1) in the plane and at the appropriate depth in the applicate.
  • Page 248: Cycle961 Workpiece: Setup Inside And Outside Corner

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner CYCLE961 workpiece: Setup inside and outside corner 5.8.1 Function overview Function The cycle can measure the position of an internal or external corner of a workpiece in the selected plane with different measuring variants.
  • Page 249 Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner Compensation of the zero offset The ZO correction is applied in the coarse offset. If a fine offset is available (MD18600: MM_FRAME_FINE_TRANS=1), it is reset. If _KNUM=0, there is no zero offset (ZO).
  • Page 250 Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner Result parameters Measuring cycle CYCLE961 makes the following values available as results in the GUD5 data block: Parameter Data type Result _OVR [4] REAL Angle to abscissa axis) in the workpiece coordinate system (WCS) _OVR [5] REAL Actual value for corner point in abscissa in WCS...
  • Page 251: Setting Up A Corner With Definition Of Distances And Angles

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner 5.8.2 Setting up a corner with definition of distances and angles 5.8.2.1 General information Function Using this measuring cycle and the _MVAR=105, _MVAR=106 measuring variants, the internal and external corner of a rectangle can be measured and set up while using the _MVAR=107, _MVAR=108 measuring variants, the internal and external corner of an unknown workpiece geometry can be measured and set up.
  • Page 252 Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner Parameter Parameter Data type Meaning _MVAR Set up internal corner of a rectangle (geometry known, 3 measuring points) Set up external corner of a rectangle (geometry known, 3 measuring points) Set up internal corner (geometry unknown, 4 measuring points) Set up external corner (geometry unknown, 4 measuring points)
  • Page 253: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner See also Variable measuring velocity: _VMS (Page 2-14) Probe type, probe number: _PRNUM (Page 2-17) Multiple measurement at the same location: _NMSP (Page 2-19) 5.8.2.2 Programming example Determination of the coordinates of an external corner of a workpiece The coordinates of the external corner of a workpiece with unknown geometry are to be...
  • Page 254: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner 5.8.2.3 Operational sequence Defining distances and angles Position before measuring cycle call The probe is positioned at measuring depth opposite the corner to be measured. It must be possible to approach the measuring points from here without collision.
  • Page 255 Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner Traversing between P 1 and P 3 on outside edge: • _ID=0: The corner is traveled around. • _ID>0: For P 1, after the measurement, is raised by _ID in the applicate and P 3 is approached via corner.
  • Page 256: Setting Up A Corner With 4 Points

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner 5.8.3 Setting up a corner with 4 points 5.8.3.1 General information Function Using this measuring cycle and the _MVAR=117, _MVAR=118 measuring variants, the internal and external corner of an unknown workpiece geometry can be measured and set up.
  • Page 257: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner Parameter Parameter Data type Meaning _MVAR Set up internal corner, specify 4 points Set up external corner, specify 4 points REAL Measurement path _KNUM 0, >0 0: without automatic ZO correction >0: with automatic ZO correction (Individual values: see Parameter description section "Description of...
  • Page 258 Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner The workpiece corner is expected to be at a distance less than 200 mm at each point (_FA=100 [mm]). Workpiece probe 1, used as tool T9, D1, is to be used.
  • Page 259: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner 5.8.3.3 Operational sequence Defining the 4 points The position of points P1 and P2 in relation to each other determines the direction of the abscissa axis (X axis in G17) of the new coordinate system. A negative offset between P1 and P2 in the abscissa (X axis in G17) results in an additional rotation about 180°! The position of the corner is selected with all 4 points.
  • Page 260 Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner Position before measuring cycle call The probe is above the workpiece at positioning height. It must be possible to reach all points without collision. The measuring cycle generates the traversing blocks and performs the measurements at the measuring points from points P1 to P4.
  • Page 261: Cycle997 Workpiece: Measuring A Sphere And Zo Determination

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination CYCLE997 workpiece: Measuring a sphere and ZO determination 5.9.1 Function overview Function With measuring cycle CYCLE997, different measuring variants can be used to measure •...
  • Page 262 Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Workpiece measuring probe type that can be used Multidirectional probe (_PRNUM=xy) Measurement is performed in all three coordinate axes. Different lengths can be specified for the probe in _CBIT[14]: •...
  • Page 263 Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Only small deviations are expected. The sphere diameter must be much larger than the probe ball diameter. Important The user must select measuring points for the particular measuring variant such that during measurement or intermediate positioning a collision with a sphere fixture or other obstacle is ruled out.
  • Page 264 Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Parameter Data type Result _OVR [7] REAL Actual value center point coordinate applicate 1st sphere _OVR [8] REAL Difference sphere diameter 1st sphere _OVR [9] REAL Different center point coordinate abscissa 1st sphere _OVR [10]...
  • Page 265 Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Parameter Data type Meaning _SETV[6] REAL Setpoint center abscissa – 3rd sphere _SETV[7] REAL Setpoint center ordinate – 3rd sphere _SETV[8] REAL Setpoint center applicate – 3rd sphere REAL Velocity for intermediate paths on circular path (G2 or G3) (for _MVAR=xx11x9, –...
  • Page 266: Measurement And Zo Determination

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination 5.9.2 Measurement and ZO determination 5.9.2.1 General information Measurement and calculation strategy At the beginning of the cycle the probe must be in the infeed axis at safety height. It must be possible to reach all spheres from here without collision.
  • Page 267 Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination In both types of measurement it is possible to repeat measurement with the located sphere center point (_MVAR=xxx119). Repeating measurement improves the measuring result. It is also possible to calculate the sphere diameter (_MVAR=10xx1x9).
  • Page 268 Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Offset is COARSE, FINE is included in calculation and then reset (if FINE is available as set in the MD). ZO compensation during measurement of 3 spheres (_MVAR=x1x109): Compensation of the entire active frame with its translational and rotary components is performed after 3 spheres have been measured with cycle CYCLE119 (see following section).
  • Page 269: Operational Sequence

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination 5.9.2.2 Operational sequence Position before measuring cycle call Before measuring cycle CYCLE997 is called the probe must be positioned at safety height above the set sphere center point (setpoints in _SETV[...]) of the 1st sphere. General The measuring cycle generates the travel movements for approaching the measuring points itself and executes the measurements according to the selected measuring variant.
  • Page 270 Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination height of the center point setpoint and the 1st measurement is taken Then P2 to P4 are approached and measured parallel to the axis. P2 is approached via positioning of the applicate at distance _FA above the sphere (setpoint diameter) and lowering to measuring height again (setpoint center point of applicate).
  • Page 271: Programming Example Cycle997

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination With _STA1 (starting angle) the angle position of P1 is defined, with _INCA, the incremental angle after P2 and then after P3. If the measuring variant is selected with 4 measuring points on a circle (_MVAR=1x1109), _INCA is also valid from P3 to P4.
  • Page 272 Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Workpiece probe 1, used as tool T9, D1,is to be used. The probe is already calibrated. Arrays for workpiece probe 1: _WP[0, ...] The following is entered under T9, D1 in the tool offset memory: Tool type (DP1): Length 1 - geometry (DP3):...
  • Page 273: Cycle119: Arithmetic Cycle For Determining Position In Space

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination 5.9.4 CYCLE119: Arithmetic cycle for determining position in space 5.9.4.1 General information Function This auxiliary cycle calculates the deviations in position and angle to the active frame from 3 defined setpoint positions in space (reference triangle) and 3 actual positions, and corrects a selected frame if necessary.
  • Page 274 Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Parameter Input data Data type Meaning _SETPOINT[3,3] REAL Field for 3 setpoint positions in the sequence 1st, 2nd, 3rd, geometry axis (X, Y, Z) These points are the reference triangle.
  • Page 275: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination 5.9.4.2 Programming example CYCLE119 application: %_N_ Check _MPF ;Calculate new frame according to transferred points and correct in active frame ;Apply (_COR=9999) if distortion is _RES < 1.2 mm: DEF REAL _SETPOINT[3,3],_MEASPOINT[3,3] DEF REAL _RES, _RESLIMIT...
  • Page 276 Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Measuring cycles 5-142 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 277: Measuring Cycles For Turning Machines

    Measuring Cycles for Turning Machines General prerequisites 6.1.1 General information The measuring cycles below are intended for use on turning machines. To be able to run the measuring cycles described in this Chapter, the following programs must be stored in the part program memory of the control. 6.1.2 Overview of measuring cycles Cycle...
  • Page 278: Call And Return Conditions

    Measuring Cycles for Turning Machines 6.1 General prerequisites Cycle Function CYCLE109 Internal subroutine: Data transfer CYCLE110 Internal subroutine: Plausibility checks CYCLE111 Internal subroutine: Measuring functions CYCLE113 Read system date and time Log CYCLE114 Internal subroutine (tool offset) CYCLE115 Internal subroutine (ZO compensation) CYCLE117 Internal subroutine: Measuring functions CYCLE118...
  • Page 279 Measuring Cycles for Turning Machines 6.1 General prerequisites Plane definition The measuring cycles work internally with the abscissa and ordinate of the current plane G17 to G19. The default setting for turning machines is G18. Note Spindle Spindle commands in the measuring cycles always refer to the active master spindle of the control.
  • Page 280: Cycle982, Cycle972 Tool: Measure Turning Tools

    Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools CYCLE982, CYCLE972 Tool: Measure turning tools 6.2.1 Function overview Function Cycles CYCLE982, CYCLE972 implement the • Calibration of a tool probe • Measuring turning tools (machine-related, probe arrays _TP[ ]). Tool lengths L1, L2 of turning tools with cutting edge positions SL = 1 to 8 are measured.
  • Page 281 Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools Note CYCLE982 is thepreferred cycle to use. CYCLE972 does not provide graphics measuring cycle support. Measuring cycle CYCLE982 provides extended measuring and calibration features over CYCLE972. These variations are described in Section "CYCLE982: Tool: Measure turning and milling tools".
  • Page 282 Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools Measuring cycles CYCLE982, CYCLE972 return the following values in data block GUD5 for measuring variant tool measurement: Parameter Data type Result _OVR [8] REAL Actual value length L1 _OVR [9] REAL Difference length L1...
  • Page 283: Calibrate Tool Probe (Machine-Related)

    Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools 6.2.2 Calibrate tool probe (machine-related) 6.2.2.1 General information Function The cycle uses the calibration tool to ascertain the current distance dimensions between the machine zero and the probe trigger point and automatically loads them into the appropriate data area in data block GUD6 (_TP [ ]fields).
  • Page 284 Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools The lateral surfaces of the probe cube must be aligned parallel to the machine axes Z1, X1 (abscissa and ordinate). The approximate coordinates of the tool probe PRNUM with respect to the machine zero must be entered in array _TP[_PRNUM-1,0] to _TP[_PRNUM-1,3].
  • Page 285: Programming Example

    Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools 6.2.2.2 Programming example Calibrate tool probe (machine-related) Tool probe 1 is stationary but provides a switching signal. The calibration tool is inserted in the turret as tool T7. Values of the calibration tool T7 D1: Tool type (DP1): Cutting edge length (DP2):...
  • Page 286: Operational Sequence

    Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools N60 CYCLE982 ;Calibration in plus Z direction N65 G0 SUPA X240 ;Approach change position in each axis N70 SUPA Z300 N99 M2 6.2.2.3 Operational sequence Position before measuring cycle call The calibration tool must be prepositioned as shown in the figure.
  • Page 287: Determining Dimensions Of Calibration

    Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools 6.2.3 Determining dimensions of calibration Function If no special calibration tool is available, a turning tool with cutting edge position SL=3 can be used instead for calibration of two sides of the probe (_TP[i,0], _TP[i,2]). With the following procedure it is possible to determine the dimensions as the calibration tool.
  • Page 288: Measure Turning Tool (Machine-Related)

    Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools 6.2.4 Measure turning tool (machine-related) 6.2.4.1 General information Function The cycle determines the new tool length (L1 or L2) and checks whether the difference from the old tool length can be corrected within a defined tolerance range: Upper limits: Safe area _TSA and dimensional deviation check _TDIF Lower limit: Zero offset range _TZL If this range is not violated, the new tool length is accepted, otherwise an alarm is output.
  • Page 289 Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools Parameter Parameter Data type Meaning _MVAR Measure tool (machine-related) 1, 2 Measuring axis Additional parameters _VMS, _TZL, _TDIF, _TSA, _FA, _PRNUM,_EVNUM and _NMSP also apply. See also Defining parameters (Page 2-2) Result parameters (Page 2-4) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 2-15) Measurement path: _FA (Page 2-16)
  • Page 290: Programming Example

    Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools 6.2.4.2 Programming example Calibrating the tool probe with subsequent measurement of turning tool (machine-related) Calibration tool T7, D1 is to be used to calibrate all 4 sides of probe 1. After that, turning tool T3, D1 is to be remeasured in both lengths L1 and L2 (wear calculation).
  • Page 291 Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools %_N_T3_MEAS_MPF ;Calibration: N10 G0 G18 G94 G90 DIAMOF N20 T7 D1 ;Call calibration tool N30 SUPA Z240 X420 ;Starting position for calibration N40 _TZL=0.001 _PRNUM=1 _VMS=0 _NMSP=1 ;Parameter definition N50 _MVAR=0 _FA=1 _TSA=1 _MA=2 N60 CYCLE982 ;Calibration in minus X direction...
  • Page 292 Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools The calculated probe value is entered in _TP[0,2]. Calibration with the measuring process has been completed in minus X. Calibration is then performed in the other measuring directions/axes. Explanation N200 to N300, measure The probe is completely calibrated.
  • Page 293: Operational Sequence

    Measuring Cycles for Turning Machines 6.2 CYCLE982, CYCLE972 Tool: Measure turning tools 6.2.4.3 Operational sequence Position before measuring cycle call Before the cycle is called, the tool must be moved to the tool tip starting position, as shown in the figure. The measuring cycle calculates the center of the probe and the associated approach paths automatically.
  • Page 294: Cycle982 Tool: Measure Turning And Milling Tools

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools CYCLE982 tool: Measure turning and milling tools 6.3.1 Function overview 6.3.1.1 General information Function Cycle CYCLE982 permits • calibration of a tool probe, • measurement of tool lengths L1 and L2 for turning tools with cutting edge positions 1 to 8, •...
  • Page 295 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools • Measuring Only measured values that are in the measurement axis _MA can be calculated. The geometry of the tool to be measured is roughly known and entered in the tool offset. Positioning of the tool with respect to the calibrated probe is performed in the cycle.
  • Page 296 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools • Machine-related measurement, calibration The switching positions of the tool probe refer to the machine zero. The array for the tool probe _PRNUM is used: _TP[PRNUM-1,...]. • Machine-related measurement, calibration The switching positions of the tool probe refer to the workpiece zero.
  • Page 297: Special Aspects With Milling Tools

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.1.2 Special aspects with milling tools The tool length correction is specific to the turning machine (SD 42950:TOOL_LENGTH_TYPE=2). The length assignment (L1, L2) is performed like for a turning tool.
  • Page 298: Measuring Variants

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.1.3 Measuring variants Measuring variants Measuring cycle CYCLE982 permits the following measuring variants which are specified via parameter _MVAR. Digit Meaning Calibrate tool probe with calibration tool Measure turning and milling tool/drill, Measurement axis in _MA (is specified for Turning tools: Cutting edge position 1...8,...
  • Page 299: Result Parameters

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Digit Meaning (radius in abscissa, for G18: Z axis, SD 42950: value = 2) Measurement and calibration Incremental calibration or Incremental measurement (limited variants, no automatic measurement) •...
  • Page 300 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring cycle CYCLE982 returns the following values in the data block GUD5 for tool measurement: Parameter Data type Result _OVR [8] REAL Actual value length L1 _OVR [9] REAL Difference length L1 _OVR [10]...
  • Page 301: Calibrating Tool Probes

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.2 Calibrating tool probes 6.3.2.1 General information Function • Calibrating tool probes - machine-related Measuring variant _MVAR=0 permits machine-related calibration of a tool probe with a calibrating tool. This variant is already described in detail section "Calibrate tool probe automatically (machine-related)".
  • Page 302: Programming Example

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.2.2 Programming example Calibrate tool probe (workpiece-related) Tool probe 1 is in the machining area and is oriented parallel to the axis of the workpiece coordinate system. The calibration tool is inserted in the turret as tool T7.
  • Page 303 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools %_N_CALIBRATE_MTT_WCS_MPF N05 G54 G94 G90 DIAMOF N10 T7 D1 ;Calibration tool N15 G0 Z100 X120 ;Starting position in minus X direction, ;procedure when ZO is activated N20 _TZL=0.001 _PRNUM=1 _VMS=0 _NMSP=1 ;Parameters for calibration cycle N21 _MVAR=10 _MA=2 _TSA=5 _FA=6 N30 CYCLE982...
  • Page 304: Measuring Tool

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.3 Measuring tool 6.3.3.1 General information Function This cycle and its various measuring variants are for measuring: _MVAR=1: Turning tools (machine-related) This variant is described in detail section "Measure turning tool (machine-related)". _MVAR=11: Turning tools (workpiece-related) _MVAR=xxx01: Milling tools, drills (machine-related) _MVAR=xxx11: Milling tools, drills (workpiece-related)
  • Page 305 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Prerequisite The tool probe must be calibrated. The approximate tool dimensions must be entered in the tool offset data: Tool type, cutting edge position on turning tools, radius, length 1, length 2. The tool to be measured must be active with its tool offset values when the cycle is called.
  • Page 306: Programming Example

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.3.2 Programming example Measure milling tool in the radial position (machine-related) For the end miller T3, D1 should be determined in the radial position when first measuring length L2 and radius R.
  • Page 307: Operational Sequence

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Explanation of example The spindle is positioned at 15 degrees with SPOS. Measuring point P1 is approached first. The measuring process is initiated in the negative Z direction (_MA=1, starting position) with measuring velocity 300 mm/min (_VMS=0, _FA>1).
  • Page 308 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools In the case of milling tools, length and radius can be selected as an alternative to length only to determine the cutter radius. For length and radius, two measuring points are required. These are approached from different sides of the measuring probe.
  • Page 309 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Position after end of measuring cycle On completion of the cycle, the tool nose is positioned facing the last measuring surface and _FA from it. Examples of measuring variants Measuring variant Specified Offset applied in...
  • Page 310 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied in Milling tool, drills geometry Example: L1=... Radial position, L2=... R=0, Measuring without reversal, calculate length only _MVAR=10001 _MA=2 Example: L1=... Axial position, L2=...
  • Page 311 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied in Milling tool, drills geometry Example: L1=... Axial position, L2=... R=ABS(P – L1) R ≠ 0, R=... measuring with reversal, calculate radius only _MVAR=1101 _MA=2 L1 must be known...
  • Page 312 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied in Milling tool, drills geometry Example: L1=-.. Axial position, L2=... R ≠ 0, R=... L1=(P1 + P2)/2 Measuring without reversal, ABS(P1-P2)/2 calculate length and radius, 2 measuring points necessary...
  • Page 313: Automatic Tool Measurement

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.4 Automatic tool measurement 6.3.4.1 General information Function This cycle and its various measuring variants are for measuring tools automatically: _MVAR=2: Turning tools (machine-related) _MVAR=12: Turning tools (workpiece-related) _MVAR=xxx02: Milling tools, drills (machine-related) _MVAR=xxx12: Milling tools, drills (workpiece-related) Workpiece-related or machine-related measurement require an appropriately calibrated tool...
  • Page 314 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Parameter Parameter Data type Meaning _MVAR 2 or xxx02 Measure tool automatically (machine-related) 12 or xxx12 Measure tool automatically (workpiece-related) More precise parameterization for milling tools is entered in the 3rd to 5th digits of _MVAR.
  • Page 315: Operational Sequence

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.4.2 Operational sequence Position before measuring cycle call Before the cycle is called, the tool must be moved to the starting position, as shown in the diagram for turning tools. The measuring cycle then calculates the approach position automatically.
  • Page 316 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Examples of measuring variants Measuring variant Specified Offset applied Milling tools geometry Example 1: L1=... Axial position, L2=... R ≠ 0, R=... Measuring without reversal, (P3x + P4x)/2 spindle stationary, (P1z + P2z)/2 4 measurements...
  • Page 317 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied Milling tools geometry Example 3: L1=... Axial position, L2=... R ≠ 0, R=... Measuring without reversal, (P3x + P4x)/2 4 measurements necessary (P1z + P2z)/2 _MVAR=3002 R=ABS(P3x-...
  • Page 318 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied Milling tools geometry Example 5: L1=... Axial position, L2=... R ≠ 0, R=... Measuring without L1=(P3x + reversal, P4x)/2 4 measurements L2=(P1z + necessary P2z)/2 _MVAR=4002...
  • Page 319 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied Milling tools geometry Example 6: L1=... Radial position, L2=... R ≠ 0, R=... Measuring without L1=(P3x + reversal, P4x)/2 4 measurements L2=(P1z + necessary P2z)/2 _MVAR=14002...
  • Page 320: Incremental Calibration

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.5 Incremental calibration 6.3.5.1 General information Function A tool probe can be calibrated with measuring variant _MVAR=100000 (machine related) or _MVAR=100010 (workpiece-related) incrementally with a calibration tool. The switching positions of the probe are not known.
  • Page 321: Programming Example

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.5.2 Programming example Calibrate tool probe incrementally Tool probe 1 is in the machining area and is oriented parallel to the axis of the machine. Calibration is to be performed in the minus X direction and incrementally. The calibration tool is inserted in the turret as tool T7.
  • Page 322: Operational Sequence

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Explanation of example Before the program is started, the "tip" of the calibration tool T7 is in measuring axis X in a range 2 · _FA=40 (dimension with reference to radius) in front of the probe. In axis Z, the probe tip center is centered with respect to the probe.
  • Page 323 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Position after end of measuring cycle When the calibration procedure is completed the calibration tool is positioned on the starting position again. Comments A special tool is used as the calibration tool and is entered as a turning tool (5xy) with cutting edge 3.
  • Page 324: Incremental Measurement

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.6 Incremental measurement 6.3.6.1 General information Function This cycle and its various measuring variants are for measuring tools incrementally: _MVAR=100001: Turning tools (machine-related) _MVAR=100011: Turning tools (workpiece-related) _MVAR=1xxx01: Milling tools, drills (machine-related) _MVAR=1xxx11: Milling tools, drills (workpiece-related).
  • Page 325 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Parameter Parameter Data type Meaning _MVAR 1xxx01 Measure a tool incrementally – machine-related 1xxx11 Measure a tool incrementally – workpiece-related More precise parameterization for milling tools/drills is entered in the 3rd to 5th digits of _MVAR.
  • Page 326: Programming Example

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.6.2 Programming example With the turning tool T3, D1 with SL=3, length L1 is to be determined incrementally and machine-related. The probe to be used is tool probe 1. This probe is already calibrated in the minus X direction (machine-related).
  • Page 327: Operational Sequence

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.6.3 Operational sequence Position before measuring cycle call Before the cycle is called, the tool must be moved to the starting position, as is shown in the diagram for turning tools, e.g.: with traversal in JOG: The "tip"...
  • Page 328 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Examples of measuring variant Measuring variant Specified Offset applied Milling tools, drills geometry Example 1: L1=... Axial position, L2=... Drill, R=0, incremental measurement without reversal, L2 = ? calculation of the length in Z _MVAR=100001...
  • Page 329 Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied Milling tools, drills geometry Example 4: L1=... Radial position, L2=... Milling cutter, R ≠ 0, R=... Measuring without reversal, calculation of the length in X _MVAR=110001 _MA=2...
  • Page 330: Milling Tool: Suppression Of Start Angle Positioning _Sta1

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied Milling tools, drills geometry Example 7: L1=... Radial position, L2=... Milling cutter, R ≠ 0, R=... measuring with reversal, calculate radius _MVAR=111101 _MA=1 In this case, L2 must be known.
  • Page 331: Measuring Drills - Special Applications (From Measuring Cycles Sw 6.3)

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.8 Measuring drills – special applications (from measuring cycles SW 6.3) Function If drills are used on lathes with a length correction (offset) as for milling machines (SD 42950: TOOL_LENGTH_TYPE=0), then a drill can also be measured (gauged) in this application.
  • Page 332: Cycle973 Calibrating Workpiece Probes

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes CYCLE973 Calibrating workpiece probes 6.4.1 Function overview Function This cycle can calibrate a workpiece probe with various cutting edge positions in a • reference groove or on a • surface. The surface for calibration on a "surface"...
  • Page 333 Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes Calibration principle The switching position of the workpiece probe in an axis is calculated into the measuring probe length. The trigger values calculated in this way (relative to ball center) is then entered in the corresponding array _WP[ ] of array GUD6.DEF for the associated probe _PRNUM (_WP[_PRNUM-1,...]).
  • Page 334 Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes Result parameters Measuring cycle CYCLE973 returns the following values in block GUD5 for calibration: Parameter Data type Result _OVR [4] REAL Actual value probe ball diameter _OVR [5] REAL Difference probe ball diameter _OVR [8] REAL Trigger point in minus direction, actual value, abscissa...
  • Page 335: Calibrating In The Reference Groove

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes 6.4.2 Calibrating in the reference groove 6.4.2.1 General information Function With this measuring cycle and the _MVAR=xxx13 measuring variant, it is possible to calibrate a workpiece probe with cutting edge position SL=7 or SL=8 in a reference groove machine-related in the axes of the plane (abscissa, ordinate).
  • Page 336 Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes Prerequisite The dimensions of the reference groove must already be stored in array _KB[ ] of data block GUD6.DEF for the groove selected via _CALNUM. The workpiece probe must be called as a tool with a tool offset. Parameter Parameter Data type...
  • Page 337: Programming Example

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes 6.4.2.2 Programming example Calibrate workpiece probe in reference groove The workpiece probe 1 with cutting edge position SL=7 is to be calibrated in reference groove 1 in both axes and in both directions in X. The probe is inserted as tool T8, D1. Probe lengths L1 and L2 always refer to the probe ball center and must be entered in the tool offset memory before the measuring cycle is called, T8, D1: Tool type (DP1):...
  • Page 338: Operational Sequence

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes 6.4.2.3 Operational sequence Position before measuring cycle call The starting point must be selected such that the selected workpiece probe can be positioned in the cycle into the reference groove selected via _CALNUM by the shortest path with paraxial collision-free movements in accordance with the active cutting edge position.
  • Page 339 Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes Prerequisite The surface must be parallel to an axis of the workpiece coordinate system and have low surface roughness. The workpiece probe is called as a tool with tool offset and positioned opposite the calibration surface.
  • Page 340: Programming Example

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes 6.4.3.2 Programming example Calibration of probe 1 on a surface Workpiece probe 1 with cutting edge position SL=7 is to be calibrated on surface Z=-18 mm in direction minus Z. The probe is inserted as tool T9, D1. Probe lengths L1 and L2 always refer to the probe ball center and must be entered in the tool offset memory before the measuring cycle is called, T9, D1: Tool type (DP1):...
  • Page 341: Operational Sequence

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes 6.4.3.3 Operational sequence Position before measuring cycle call The starting point must be a position facing the calibration surface. Position after end of measuring cycle On completion of calibration, the probe is positioned facing the calibration surface at distance _FA.
  • Page 342: Cycle974 Workpiece: 1-Point Measurement

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement CYCLE974 workpiece: 1-point measurement 6.5.1 Function overview Function This measuring cycle can be used in various measurement variants to determine workpiece dimensions in a 1-point measurement. It is also possible to determine a zero offset (ZO) or an automatic tool offset. •...
  • Page 343 Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement Prerequisite The probe must be calibrated in the measuring direction and as a tool with tool offset. The tool type is 5xy. The cutting edge position can be 5 to 8 and must be suitable for the measurement task. Measuring variants Measuring cycle CYCLE974 permits the following measuring variants that are specified in parameter _MVAR.
  • Page 344 Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement Parameter Data type Result _OVI [5] INTEGER Probe number INTEGER Mean value memory number _OVI [6] _OVI [7] INTEGER Empirical value memory number _OVI [8] INTEGER Tool number _OVI [9] INTEGER Alarm number INTEGER...
  • Page 345: 1-Point Measurement And Zo Determination

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement 6.5.2 1-point measurement and ZO determination 6.5.2.1 General information Function With this measuring cycle and the _MVAR=100 measuring variant, the actual value of a workpiece is determined with reference to the workpiece zero in the selected measuring axis _MA.
  • Page 346: Programming Example

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement 6.5.2.2 Programming example ZO calculation at a workpiece The intention is to determine the zero offset in the Z axis on a clamped workpiece with workpiece probe 1, inserted as tool T8, D1. The position determined should retain the value 60 mm in the new workpiece with G54.
  • Page 347: Operational Sequence

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement 6.5.2.3 Operational sequence Position before measuring cycle call The probe must be positioned opposite the surface to be measured. Position after end of measuring cycle On completion of measurement, the probe is positioned facing the measuring surface at distance _FA.
  • Page 348 Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement Prerequisite If necessary, the workpiece must be positioned in the correct angular spindle position with SPOS before the cycle is called. Parameter Parameter Data type Meaning _MVAR 1-point measurement and tool offset _SETVAL REAL Setpoint (according to drawing)
  • Page 349: Programming Example

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement 6.5.3.2 Programming example 1-point measurements at outside and inside diameters with tool offsets An outside diameter with tool T7, D1 and an inside diameter with tool T8, D1 has been machines on a workpiece.
  • Page 350 Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement %_N_ONE_POINT_MEAS_MPF N10 G54 G18 G90 T9 D1 DIAMON ;Call ZO, tool = probe N20 G0 Z30 X90 ;Preposition probe N25 _CHBIT[4]=1 ;With mean value calculation N30 _TZL=0.002 _TMV=0.005 _TDIF=0.04 _TSA=0.5 ;Parameters for cycle call _PRNUM=1 _VMS=0 _NMSP=1 _FA=1 N31 _MVAR=0 _SETVAL=45 _TUL=0 _TLL=-0.01...
  • Page 351: Operational Sequence

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement 6.5.3.3 Operational sequence Position before measuring cycle call The probe must be positioned opposite the surface to be measured. Position after end of measuring cycle On completion of measurement, the probe is positioned facing the measuring surface at distance _FA.
  • Page 352 Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement Before taking the first measurement, the workpiece is positioned at the angular position programmed in parameter _STA1 with SPOS and the 180° reversal is automatically generated by the cycle before the second measurement. The mean value is calculated from both measured values.
  • Page 353: Programming Example

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement 6.5.4.2 Programming example 1-point measurement at outside diameter, measuring with reversal An outside diameter with tool T7, D1 has been machined on a workpiece. The set diameter has the dimension shown in the figure. This outside diameter is to be measured with reversal.
  • Page 354 Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement Note The values of the workpiece tolerance parameters _TUL, _TLL were selected asymmetrically in the example. The result is then made symmetrical (see Section "Tolerance parameters: _TZL, _TMV, _TUL, TLL, _TDIF and _TSA"). Measuring cycles 6-78 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 355: Cycle994 Workpiece: 2-Point Measurement

    Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement CYCLE994 workpiece: 2-point measurement 6.6.1 Function overview 6.6.1.1 General information Function This measuring cycle can be used to determine workpiece dimensions in 2-point measurements with various measuring variants. Automatic tool offset is also possible. The measuring cycle determines the actual value of the workpiece with respect to the workpiece zero in the selected measuring axis _MA and calculates the difference from a defined setpoint (setpoint-actual value).
  • Page 356 Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement Prerequisite The probe must be calibrated in the measuring direction (if _CHBIT[7] = 0) and called as a tool with tool offset. The tool type is 5xy. The cutting edge position can be 5 to 8 and must be suitable for the measurement task.
  • Page 357 Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement Measuring variants Measuring cycle CYCLE994 permits the following measuring variants that are specified in parameter _MVAR. Value Meaning 2-point measurement with programmed safety zone (This measuring variant is only for inside measurement!) 2-point measurement with programmed safety zone (For inside measurement without safety zone in this measuring variant!) Result parameters...
  • Page 358 Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement Parameter Data type Result dimension, regardless of DIAMON or DIAMOF. When measuring in the traverse axis and for diameter programming (DIAMON), all of the dimensioned parameters are diameter dimensions, otherwise radius dimensions. Parameter Parameter Data type...
  • Page 359: Programming Example

    Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement Additional parameters _VMS, _TZL, _TMV, _TUL _TLL, _TDIF, _TSA, _FA, _PRNUM, _EVNUM, _NMSP and _K also apply. See also Defining parameters (Page 2-2) Result parameters (Page 2-4) Variable measuring velocity: _VMS (Page 2-14) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 2-15) Measurement path: _FA (Page 2-16) Probe type, probe number: _PRNUM (Page 2-17)
  • Page 360 Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement The offset must take the empirical value in memory _EV[2] into consideration for T 8, or _EV[3] for T 9. Mean value calculation _MV[2] or _MV[3] and inclusion in calculation are also to be used.
  • Page 361 Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement Explanation of example Measurement of outside diameter and offset T8 The difference calculated from the actual value and setpoint is compensated for by the empirical value in the empirical value memory _EV[2] and compared with the tolerance parameter: •...
  • Page 362: Operational Sequence

    Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement 6.6.1.3 Operational sequence Position before measuring cycle call The probe must be positioned opposite the positive measuring point. Position after end of measuring cycle After the end of measurement, the probe is facing the negative measuring point at distance _FA.
  • Page 363 Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement Procedure for outside measurement with _MVAR=2, _MA=2: (safety zone _SZA, _SZO active) 1: Approach path outside diameter (user) 2 to 7: Traverse paths generated by the cycle for measuring on the outside diameter taking the safety zone _SZA, _SZO (4 to 6) into account 8 to 9: Retraction to the original point (user) Procedure for inside measurement with _MVAR=2, _MA=2:...
  • Page 364: Complex Example For Tool Measurement

    Measuring Cycles for Turning Machines 6.7 Complex example for tool measurement Complex example for tool measurement Exercise The workpiece shown in the figure is to be measured with workpiece probe 1 with cutting edge position 7, inserted as tool T8, D1, in CYCLE974. This tool master is previously calibrated with CYCLE973 in reference groove 1 in both axes in the negative direction.
  • Page 365 Measuring Cycles for Turning Machines 6.7 Complex example for tool measurement Calibration with workpiece probe CYCLE973, measurement of workpiece with CYCLE974 %_N_PART_1_MEAS_MPF N10 T8 D1 DIAMON ;Select tool = probe N20 SUPA G0 X300 Z150 ;Approach starting position in X and Z, from ;which it is possible to approach the reference groove...
  • Page 366 Measuring Cycles for Turning Machines 6.7 Complex example for tool measurement Measuring cycles 6-90 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 367: Miscellaneous Functions

    Miscellaneous functions Log measurement results The measuring cycles support measuring cycle logging into a file on the control. There are no special hardware requirements for logging measurement results. It is executed solely by the software. 7.1.1 Overview of the logging cycles CYCLE100 Log ON CYCLE101...
  • Page 368: Handling The Log Cycles

    Miscellaneous functions 7.1 Log measurement results 7.1.3 Handling the log cycles 7.1.3.1 General information Function • The log is enabled and disabled via the program (CYCLE100/CYCLE101). This requires a cycle call without setting any parameters. • After disabling the log function, the log files can be exported from the part program memory to diskette (HMI Advanced only) or via V.24.
  • Page 369: Cycle105(Par1) Creating Log Content

    Miscellaneous functions 7.1 Log measurement results 7.1.3.4 CYCLE105(PAR1) Creating log content This cycle generates up to 4 lines of log contents (lines of values) according to the entries in the variables of the data block (GUD6). It allows you to generate only value lines or only the log header depending on the setting for PAR1.
  • Page 370: Programming Example For Formatting A Single Number

    Miscellaneous functions 7.1 Log measurement results Formatting more than one number: • Up to 10 numbers can be formatted; the actual number of numbers to be formatted is passed to the cycle in PAR4. • The cycle takes the numbers from consecutive R parameters, e.g. R11 to R20. •...
  • Page 371: Variables When Logging

    Miscellaneous functions 7.1 Log measurement results 7.1.4 Variables when logging Function With these parameters you can: • select the content of the log. • format the log. • determine the content of the log header. In the measuring cycle, data logging is controlled via the following data bit: Variable Value Meaning...
  • Page 372: Selection Of The Log Content

    Miscellaneous functions 7.1 Log measurement results 7.1.5 Selection of the log content Function The measurement result log contains parts that are fixed and some that can be set. It always contains: • Measuring cycle (cycle name) • Measuring variant (value of _MVAR) Output of the measuring cycle and measuring variant can be suppressed by setting _CBIT[6].
  • Page 373: Log Format

    Miscellaneous functions 7.1 Log measurement results Example: _PROTVAL[2]="R27,_OVR[0],_OVR[4],_OVR[8],_OVR[12],_OVR[16],_TIME" _PROTVAL[3]="_AXIS,_OVR[1],_OVR[5],_OVR[9],_OVR[13],_OVR[17], INCH" _PROTVAL[4]="_AXIS,_OVR[2],_OVR[6],_OVR[10],_OVR[14],_OVR[18], Metr" R27 is just an example of an R parameter. The texts "INCH" and "Metro" at the end of the second and third line are examples for comment texts. This makes it easy, for example, to append dimensions after the measurement results.
  • Page 374: Log Header

    Miscellaneous functions 7.1 Log measurement results 7.1.7 Log header Function The log header can be customized by the operator or a log header prepared by the standard measuring cycles can be used. The selection is made via measuring cycle data bit_CBIT[11]. _CBIT[11]=0: Default log header _CBIT[11]=1: User-defined log header The contents of the header are stored in an array of string variables _HEADLINE[10], which...
  • Page 375: Example: Creating A Measurement Result Log

    Miscellaneous functions 7.1 Log measurement results When filling in the standard log header shown above the following program lines must be inserted in the main program before the measuring cycle is called: DEF INT PARTNUM, JOBNUM _CBIT[11]=0 ;Log with default header PARTNUM=123456789 JOBNUM=6878 _LOGNAME[0]="MEASPROGRAM_1"...
  • Page 376 Miscellaneous functions 7.1 Log measurement results Programming The log with the default log header shown above is created using the following program. The example shows the user how to handle the log. %_N_MEASPROGRAM_1_MPF ;$PATH=/_N_MPF_DIR ;Measure shaft with measuring log DEF INT PARTNUM, JOBNUM, MP_COUNTER ;...
  • Page 377 Miscellaneous functions 7.1 Log measurement results N185 Z130 ;Lower in Z _MVAR=102 _SETVAL=70 _FA=2 _TSA=2 _ID=-20 ;Set measuring cycle parameters ;Measuring variant: Measure shaft with ;ZO compensation _PROTFORM[4]=2 ;two value lines _PROTVAL[2]="_TXT[0],_AXIS1,_OVR[1],_OVR[5],_OVR[17],_TIME" _PROTVAL[3]=" ,_AXIS2,_OVR[2],_OVR[6],_OVR[18]" MP_COUNTER=MP_COUNTER+1 _TXT[0]=<
  • Page 378: Measuring Cycle Support In The Program Editor (Up To Measuring Cycles Sw 5.4)

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) Measuring cycle support in the program editor (up to measuring cycles SW 5.4) Function In SW 4.3 and higher, cycle support for measuring cycles in the ASCII editor is provided as for the standard cycles.
  • Page 379: Load The Measuring Cycle Support

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) 7.2.2 Load the measuring cycle support Function The files mcsupp_1.com and mcsupp_2.com are loaded from diskette or via RS-232-C with "Data in" into the "Services" menu. With the MMC 102/103 the auxiliary cycle programs (see list Subsection "Assigning calls and measuring cycles") must be transferred to the NCU with "Load".
  • Page 380: Description Of The Parameterizing Cycles

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) 7.2.4 Description of the parameterizing cycles 7.2.4.1 General information The individual parameterization cycles of the measuring cycles together with their input parameters are described below. The parameter names in the table directly refer to the defining parameters of the measuring cycle in question in the GUD variables.
  • Page 381: Calibrate Tool Probe - Cycle_Cal_Toolsetter

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) 7.2.4.3 Calibrate tool probe - CYCLE_CAL_TOOLSETTER With CYCLE_CAL_TOOLSETTER Softkeys → (CYCLE971) Softkeys → (CYCLE972) measuring cycles CYCLE971 and CYCLE972 can be parameterized to calibrate a tool measuring probe.
  • Page 382: Calibration In Groove - Cycle_973

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) Parameter Type Value Meaning 10000: Calibrating in the 3rd axis with calculation of probe length 7.2.4.5 Calibration in groove - CYCLE_973 With CYCLE_973 Softkeys →...
  • Page 383: Measuring Milling Tools - Cycle_971

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) Parameter Type Value Meaning INTEGER >0 Number of measuring axis 1, 2 INTEGER ≥0 Determines measuring direction 0…in positive direction / 1...in negative direction _STA1 REAL Angle (for calibration at an angle only)
  • Page 384: Hole, Measure Shaft - Cycle_977_979A

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) 7.2.4.9 Hole, measure shaft – CYCLE_977_979A With CYCLE_977_979A Softkeys → → measuring variants xxx1 and xxx2 of measuring cycles CYCLE977 and CYCLE979 can be parameterized.
  • Page 385: Measure Rectangle - Cycle_977_979C

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) Parameter Parameter Type Value Meaning INTEGER Selection: Angular position 977…paraxial measurement / 979...measurement at an angle _MVAR INTEGER >0 Measuring variant _SETVAL REAL Setpoint REAL Infeed path INTEGER...
  • Page 386: Single-Point Measurement - Cycle_978

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) 7.2.4.12 Single-point measurement - CYCLE_978 With CYCLE_978 Softkeys → → CYCLE978 can be parameterized. Parameter Parameter Type Value Meaning _MVAR INTEGER ≥0 Measuring variant _SETVAL REAL Setpoint...
  • Page 387: Corner Measurement With Specification Of Points - Cycle_961_P

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) Parameter Parameter Type Value Meaning INTEGER Selection: Outside or inside corner 0…inside corner / 1...outside corner INTEGER Selection: Number of measuring points, 3 or 4 _SETV[0] REAL >0...
  • Page 388: Single-Point Measurement - Cycle_974

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) Parameter Parameter Type Value Meaning INTEGER Selection: Outside or inside corner 0…inside corner / 1...outside corner REAL >0 Infeed path of measuring probe to measuring height, without sign _SETV[0] REAL...
  • Page 389: Two-Point Measurement - Cycle_994

    Miscellaneous functions 7.2 Measuring cycle support in the program editor (up to measuring cycles SW 5.4) 7.2.4.17 Two-point measurement - CYCLE_994 With CYCLE_994 Softkeys → → CYCLE994 can be parameterized. Parameter Parameter Type Value Meaning _MVAR INTEGER 1, 2 Measuring variant _SETVAL REAL Setpoint...
  • Page 390: Measuring Cycle Support In The Program Editor (From Measuring Cycles Sw 6.2)

    Miscellaneous functions 7.3 Measuring cycle support in the program editor (from measuring cycles SW 6.2) Measuring cycle support in the program editor (from measuring cycles SW 6.2) From measuring cycles SW 6.2, the program editor provides extended measuring cycle support for inserting measuring cycle calls into the program. Prerequisite HMI Advanced/Embedded as from SW 6.2 required.
  • Page 391: Softkey Bars For Turning

    Miscellaneous functions 7.3 Measuring cycle support in the program editor (from measuring cycles SW 6.2) 7.3.1.2 Softkey bars for turning Vertical softkey menu for turning technology Call screen form for CYCLE973 Calibrate workpiece probe for turning machines. Call new vertical softkey menu for "measure workpiece". Call screen form for CYCLE982 Calibrate tool probe for turning machines.
  • Page 392 Miscellaneous functions 7.3 Measuring cycle support in the program editor (from measuring cycles SW 6.2) Vertical softkey menu for measure workpiece, turning Call screen form Workpiece measurement for turning machines CYCLE974 1 point measurement. Call screen form Workpiece measurement for turning machines CYCLE994 2-point measurement.
  • Page 393: Softkey Bars For Milling

    Miscellaneous functions 7.3 Measuring cycle support in the program editor (from measuring cycles SW 6.2) 7.3.1.3 Softkey bars for milling Vertical softkey menu for milling technology Call screen form for CYCLE976 Calibrate workpiece probe for milling machines. Call new vertical softkey menu for selection "measure workpiece". Call screen form for CYCLE971 Calibrate tool probe for milling machines.
  • Page 394 Miscellaneous functions 7.3 Measuring cycle support in the program editor (from measuring cycles SW 6.2) Vertical softkey menu for workpiece measuring, milling Call screen form for workpiece measurement for milling machines CYCLE977/CYCLE979 hole/shaft. Hole/shaft and paraxial/at an angle switchover are performed in the screen form. Call screen form for workpiece measurement for milling machines CYCLE977/CYCLE979 groove/web.
  • Page 395 Miscellaneous functions 7.3 Measuring cycle support in the program editor (from measuring cycles SW 6.2) Vertical advancement menu for workpiece measurement milling Call screen form for workpiece measurement for milling machines CYCLE977 rectangle internal/external. Call screen form for workpiece measurement for milling machines CYCLE997 measure ball and ZO determination (from measuring cycles SW 6.3).
  • Page 396: Programming Example

    Miscellaneous functions 7.3 Measuring cycle support in the program editor (from measuring cycles SW 6.2) 7.3.1.4 Programming example Measuring a hole parallel to the axis with protection zone (generated with measuring cycle support) N100 G17 G0 G90 Z20 F2000 S500 M3 ;Main block N110 T7 M6 ;Insert probe...
  • Page 397: Pre-Setting Of The Measuring Cycle Support

    Miscellaneous functions 7.3 Measuring cycle support in the program editor (from measuring cycles SW 6.2) 7.3.2 Pre-setting of the measuring cycle support General information A field _MZ_MASK is declared in the data block (GUD6) in which the screen forms can be adapted: •...
  • Page 398 Miscellaneous functions 7.3 Measuring cycle support in the program editor (from measuring cycles SW 6.2) Setting Variable Valu Default: Meaning An indirect measuring cycle call is inserted in the NC code. _MZ_MASK[0] Example: CYCLE977/drill-hole CYCLE_PARA(....) CYCLE_977_979A(977,..) A direct measuring cycle call is inserted in the NC code. Example: CYCLE977/drill-hole _MVAR=1 _KNUM=1 _PRNUM=1 ..
  • Page 399 Miscellaneous functions 7.3 Measuring cycle support in the program editor (from measuring cycles SW 6.2) Variable Valu Default: Meaning account. Screen forms for workpiece measurement with automatic tool offset and tool measurement contain an input field for the following parameters: _EVNUM: Number of empirical value memory •...
  • Page 400: Measuring Result Screens

    Miscellaneous functions 7.4 Measuring result screens Recompiling Recompilation of programs allows you to change existing programs using the cycle support. When recompiling measuring cycle calls, please note that a field of defaults for programming is active (_MZ_MASK) in addition to the screen forms. If there has been a change in this settings between program creation and recompilation, the changes will also be included in the program.
  • Page 401 Miscellaneous functions 7.4 Measuring result screens Display result displays The result displays contain the following data: Calibrating tool probes • Measuring cycle and measuring variant • Trigger values of axis directions and differences • Probe number • Safe area Measuring the tool •...
  • Page 402 Miscellaneous functions 7.4 Measuring result screens Example of measurement result display Measuring cycles 7-36 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 403: Hardware/Software

    Hardware/software Hardware requirements 8.1.1 General hardware prerequisites Axis assignment For correct execution of the measuring cycles the machine axes must be assigned according to DIN 66217. Probes that can be used Switching probes should be connected up for the measuring cycles. For an explanation of these, refer to descriptions in Section 1.6 "Probes that can be used".
  • Page 404 Hardware/software 8.1 Hardware requirements Cable distributor Figure 8-1 View of the opened cable distributor • Connecting up the probe – Probe 1 to X10 – Probe 2 to X5 • The X10 and X5 connector type is a DU–BOX plug connector •...
  • Page 405 Hardware/software 8.1 Hardware requirements SINUMERIK 810D Probe connection to X121, 810D/CCU module Figure 8-2 Front view of 810D/CCU module Measuring cycles Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 406 Hardware/software 8.1 Hardware requirements SINUMERIK 840D Probe connection to X121, 840D/NCU module Figure 8-3 Front view of 840D/NCU module Measuring cycles Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 407 Hardware/software 8.1 Hardware requirements SINUMERIK 840Di Probe connection to X121, 840Di/PCU50 The additional MCI board extension, slot variant module, which is located on interface X121, is needed to connect probes up to SINUMERIK 840Di using cable distributors. Side view PCU50 X4: MCI board extension Switch S1 X121...
  • Page 408: Sinumerik 840D Sl (Solution Line) Probe Connection To X122, Ncu 7X0

    For more detailed information on contact routing, electric characteristics, commissioning using configuration macros, and additional material needed, see: References: /GDsl/ SINUMERIK 840D sl NCU Manual /IDsl) SINUMERIK 840D sl/SINAMICS S120 CNC Commissioning, Part 1 (NCK, PLC, Drive) Figure 8-4 Example of probe connection to NCU 720: Measuring cycles...
  • Page 409: Measuring In Jog

    Measuring in JOG Measuring in JOG is only possible with: • SINUMERIK 840D sl → in conjunction with HMI Advanced (PCU 50) • SINUMERIK 840Di → in conjunction with HMI Advanced (PCU 50) • SINUMERIK 840D → in conjunction with HMI Advanced (PCU 50) or MMC 103 •...
  • Page 410: Function Test

    Hardware/software 8.3 Function test Function test Measure command The control has the command MEAS for generating a measuring block. The measuring input number is set in the command parameters. Saving measurement results The results of the measurement command are stored in the system data of the NCK and can be accessed from the program.
  • Page 411: Data Description

    Data description Machine data for machine cycle runs 9.1.1 Machine data that configure the memory 9.1.1.1 General information The measuring cycles use separate GUD and LUD variables (Global User Data and Local User Data). The memory areas needed for this are configured using NC machine data. The amount of memory needed for GUD variables is determined when loading data modules GUD5 and GUD6! If the "Measure in JOG"...
  • Page 412: Memory Configuring Machine Data, Sram

    9.1 Machine data for machine cycle runs Notice The following details in the machine data only refer to the use of SIEMENS measuring cycles and are valid up to NCK software version 59.xx.yy As of NCK software version 63.xx.yy, the standard machine data setting should be such that the memory configuration requires no further adjustments when only SIEMENS measuring cycles are installed for automatic mode and measuring in JOG.
  • Page 413 Data description 9.1 Machine data for machine cycle runs 18120 MM_NUM_GUD_NAMES_NCK MD number Number of GUD variable names in the control Default setting: 10 Min. input limit: 0 Max. input limit: plus Default setting: 50 When using measuring cycles: 30 Changes effective after POWER ON Protection level: 2/7 Units: -...
  • Page 414 Data description 9.1 Machine data for machine cycle runs Memory requirement of GUD variables for meas. cycles The machine data settings recommended above provide overall values that enable work with measuring cycles. Deviating settings may be required for particular applications. The memory requirement of each measuring cycle is therefore specified here (approximate values).
  • Page 415: Memory Configuring Machine Data, Dram

    Data description 9.1 Machine data for machine cycle runs 28083 MM_SYSTEM_DATAFRAME_MASK MD number System frames (SRAM) Default setting: 21Hex Min. input limit: 0 Max. input limit: 7Fhex Default setting: 21Hex When using measuring cycles: 21 Hex Bit 5 = 1 Changes effective after POWER ON Protection level: 2/7 Units: -...
  • Page 416: Other Machine Data

    Data description 9.1 Machine data for machine cycle runs 28020 MM_NUM_LUD_NAMES_TOTAL Number of LUD variable names (in total in all program levels) MD number Default setting: 200 Min. input limit: 0 Max. input limit: plus Default setting: 400 When using measuring cycles: 200 Changes effective after POWER ON Protection level: 2/7 Units: -...
  • Page 417 Data description 9.1 Machine data for machine cycle runs 13200 MEAS_PROBE_LOW_ACTIVE[n] Switching characteristics of probe (n=0: Measuring input 1, n=1: Measuring input 2) MD number When programming MEAS, the data always refers to "not deflected", "deflected" – but not to the voltage level.
  • Page 418: Cycle Data

    Data description 9.2 Cycle data Cycle data 9.2.1 Data blocks for measuring cycles 9.2.1.1 General information The measuring cycle data are stored in two separate definition blocks: • GUD5.DEF: Data block for measuring cycle users • GUD6.DEF: Data module for machine manufacturers 9.2.1.2 Data block GUD5.DEF The input and output parameters for measuring cycles are stored in the data block...
  • Page 419 Data description 9.2 Cycle data Global data Data type Meaning _TPW[3,10] REAL 3 data arrays for tool probes, machine-related _CM[8]=(100,1000,1, REAL Only active if _CBIT[12]=0 0.005,20,4,10,0) Monitoring data for tool measurement with rotating spindle and cyclic calculation: max. peripheral speed 100 m/min •...
  • Page 420 Data description 9.2 Cycle data Global data Data type Meaning 1,3,1,12), 60 lines per page • 80 characters per line • first page number is 1 • number of header lines is 3 • number of value lines in the log is 1 •...
  • Page 421 Data description 9.2 Cycle data Channel-specific data Data type Meaning _EVMVNUM[2]=(20,20) INTEGER Number of empirical values and mean values 20 memories for empirical values • 20 memories for mean values • _SPEED[4] REAL Traversing velocities for intermediate positioning =(50,1000,1000,900), 50% rapid traverse velocity •...
  • Page 422 Data description 9.2 Cycle data Channel-specific data Data type Meaning _MT_COMP=0 INTEGER No additional offset of the measurement result display on tool measurement with rotating spindle (CYCLE971) _MT_EC_R[6,5]=(0,...,0) REAL User-defined array for offsetting the measurement result on tool radius measurement and rotating spindle (CYCLE971) _MT_EC_L[6,5]=(0,...,0 REAL User-defined array for offsetting the measurement result on tool length...
  • Page 423: Data Adjustment To A Specific Machine

    Data description 9.2 Cycle data 9.2.2 Data adjustment to a specific machine General information There are two main steps for adapting the data to a specific machine: 1. Adapting the data definitions in the GUD blocks and loading them in the PLC. 2.
  • Page 424 Data description 9.2 Cycle data • Length of workpiece probe relative to end of probe ball. • Static measurement result display. • No repeat of an unsuccessful attempted measurement. • Retraction of the probe from the measuring point at 80% of rapid traverse velocity. Example: %_N_MZ_VALUE ASSIGNMENT_MPF ;$PATH=/_N_MPF_DIR...
  • Page 425: Central Values

    Data description 9.2 Cycle data 9.2.3 Central values Data block GUD6.DEF _CVAL[ ] Number of elements, arrays Min. input limit: - Max. input limit: - Changes valid after value assignment Protection level: - Units: - Data type:INTEGER Applies as of SW SW 3.2/6.3 Significance: Preset default _CVAL[0]...
  • Page 426 Data description 9.2 Cycle data _TP[ ] Array for tool probes (machine-related) _TP[k,4] to irrelevant _TP[k,9] • Tool probe on milling machine Example: Probe type disk in XY (_TP[k,8]=101) • Tool probe on turning machine Example: G18 plane, values machine-related Measuring cycles 9-16 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 427 Data description 9.2 Cycle data _TPW[ ] Array for tool probes (workpiece-related) Min. input limit: - Max. input limit: - Changes valid after value assignment Protection level: - Units: - Data type:REAL Applies as of SW SW 6.3 Significance: Index “k” stands for the number of the current array (_PRNUM-1) Preset default Assignment for milling _TPW[k,0]...
  • Page 428 Data description 9.2 Cycle data Tool probe types _WP[ ] Workpiece probe Min. input limit: - Max. input limit: - Changes valid after value assignment Protection level: - Units: - Data type:REAL Applies as of SW SW 3.2 Significance: Index “k” stands for the number of the current array (_PRNUM-1) Preset default _WP[k,0] active ball diameter of the workpiece probe...
  • Page 429 Data description 9.2 Cycle data Overview of workpiece probe data Example: G17, milling, _CBIT[14]=0 Position deviation of a real probe in rest position and trigger point Tp in –Z Position deviation and trigger points Tp in X and Y (magnified illustration): Measuring cycles 9-19 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 430 Data description 9.2 Cycle data _KB[ ] Gauging block (pair of reference grooves) Min. input limit: - Max. input limit: - Changes valid after value assignment Protection level: - Units: - Data type:REAL Applies as of SW SW 3.2 Significance: Index “k”...
  • Page 431 Data description 9.2 Cycle data For tool measurement with CYCLE971 only _CM[ ] Monitoring functions for tool measurement with rotating spindle, only active if _CBIT[12]=0 Min. input limit: - Max. input limit: - Changes valid after value assignment Protection level: - Units: - Data type:REAL Applies as of SW SW 4.3...
  • Page 432: Central Bits

    Data description 9.2 Cycle data 9.2.4 Central bits 9.2.4.1 In data block GUD6.DEF _CBIT[ ] Central bits Min. input limit: 0 Max. input limit: 1 Changes valid after value assignment Protection level: - Units: - Data type BOOLEAN Applies as of SW SW 3.2 Significance: Preset default _CBIT[0]...
  • Page 433: Detailed Description

    Data description 9.2 Cycle data _CBIT[ ] Central bits _CBIT[11] Selection of log header for logging 0: Standard 1: user-defined _CBIT[12] Feed and speed in CYCLE971 0: calculation by measuring cycle itself 1: set by user in array _MFS[ ] _CBIT[13] Deletion of the measuring cycle arrays in the GUD6 0: No deletion...
  • Page 434 Data description 9.2 Cycle data M0 for tolerance alarms "oversize", "undersize", or "permissible dimensional difference exceeded" _CBIT[2]=0: When the alarms "oversize", "undersize", or "permissible dimensional difference exceeded" occur, no M0 is generated. _CBIT[2]=1: M0 is generated when these alarms occur. Central marker for basic dimension system of the control _CBIT[3]=0: Basic system is based on inches...
  • Page 435 Data description 9.2 Cycle data Support for turning machines with orientational tool carriers _CBIT[7]=0: No support for orientational tool carriers. _CBIT[7]=1: Support for a probe or tool positioned using orientational tool carrier (kinematics type "T"), with reference to the special carrier positions 0°, 90°, 180° and 270°. Offset for mono probe setting _CBIT[8]=0: No compensation...
  • Page 436: Central Strings

    Data description 9.2 Cycle data Activate calibration monitoring during "Measuring in automatic mode" _CBIT[16]=0: No calibration monitoring _CBIT[16]=1: Calibration monitoring active The monitoring checks whether the calibration plane, mono/multi probe calibration or calibration at the probe center point/probe end point between calibrating and measuring is identical.
  • Page 437: Channel-Oriented Values

    Data description 9.2 Cycle data 9.2.6 Channel-oriented values Data block GUD5.DEF _EV[ ] Empirical values Min. input limit: - Max. input limit: - Changes valid after value assignment Protection level: - Units: - Data type REAL Applies as of SW SW 3.2 Significance: Index “k”...
  • Page 438 Data description 9.2 Cycle data _ SPEED[ ] Traversing velocities for intermediate positioning between 1 and 100) _SPEED[1] Interim positioning in measuring cycle in the plane with 1000 [mm/min] collision monitoring active _SPEED[2] Interim positioning in measuring cycle with positioning in 1000 [mm/min] the feed axis with collision monitoring active _SPEED[3]...
  • Page 439 Data description 9.2 Cycle data Measuring feed _VMS, fast measuring feed _SPEED[3] Measurement is performed with the measuring feed of _VMS. • If _VMS=0 and _FA=1: 150 mm/min • If _VMS=0 and _FA>1: 300 mm/min If _CHBIT[17]=1 and _FA>1 probing is performed twice. The fast measuring feed _SPEED[3] is used for the first probing.
  • Page 440 Data description 9.2 Cycle data _MT_EC_R[6,5] Offset table for measurement result offset for tool radius measurement with rotating spindle (CYCLE971 only) Min. input limit: - Max. input limit: - Changes valid after value assignment Protection level: - Units: mm Data type REAL Applies as of SW 6.2 Significance: Measurement result offset for tool measurement with rotating spindle...
  • Page 441: Channel-Oriented Bits

    Data description 9.2 Cycle data 9.2.7 Channel-oriented bits 9.2.7.1 In data block GUD6.DEF _CHBIT Channel bits Min. input limit: - Max. input limit: - Changes valid after value assignment Protection level: - Units: - Data type BOOLEAN Applies as of SW SW 3.2 Significance: Preset default _CHBIT[0]...
  • Page 442 Data description 9.2 Cycle data _CHBIT Channel bits 1: ON _CHBIT[11] Acknowledgment measurement result screen with NC start 0: OFF (If _CHBIT[18]=0, the display is automatically deselected at end of cycle.) 1: ON (M0 is generated in the cycle.) _CHBIT[12] currently not assigned _CHBIT[13] Coupling spindle position with coordinate rotation in active plane...
  • Page 443: Detailed Description

    Data description 9.2 Cycle data _CHBIT Channel bits _CHBIT[22] Only active for CYCLE971! with rotating spindle and multiple measurement with rotating spindle and multiple measurement 0: last measurement with reduced speed at _CBIT[12] = 0 1: no speed reduction _CHBIT[23] Only active for CYCLE982! Recoding of tool point direction during tool measurement 0: No recoding...
  • Page 444 Data description 9.2 Cycle data Tool offset mode with tool measurement _CHBIT[3]=0: First-time measurement The determined tool data (length and radius) are written into the geometry data of the tool. The wear is deleted. _CHBIT[3]=1: Remeasurement The difference that is determined is entered into the appropriate wear data of the tool.
  • Page 445 Data description 9.2 Cycle data Measured value offset in CYCLE994 _CHBIT[7]=0: In order to determine the actual value, the trigger values of the measuring probe, saved in the _WP[_PRNUM-1,1...4) are used. _CHBIT[7]=1: In order to determine the actual value, the effective diameter of the measuring probe, saved in the _WP[_PRNUM-1,0] is used.
  • Page 446 Data description 9.2 Cycle data Coupling spindle position with coordinate rotation in active plane for workpiece measurement with multi probe _CHBIT[13]=0: There is no coupling between the spindle position and active coordinate rotation in the plane. _CHBIT[13]=1: When multi-probes are being used, the spindle is positioned depending on the active coordinate rotation in the plane (rotation around the applicate (feed axis)) so that the same positions of the probe sphere are probed when calibrating and measuring.
  • Page 447 Data description 9.2 Cycle data Number of measurements on failure to switch _CHBIT[15]=0: A max. of 5 measuring attempts are undertaken before the fault "measuring sensor does not switch" is generated. _CHBIT[15]=1: After one unsuccessful measurement attempt, the fault "measuring sensor does not switch"...
  • Page 448 Data description 9.2 Cycle data ZO compensation mode in CYCLE974, CYCLE977, CYCLE978, CYCLE979, CYCLE997 _CHBIT[21]=0: The offset is applied additively in FINE, if MD 18600: MM_FRAME_FINE_TRANS=1, otherwise in COARSE. _CHBIT[21]=1: The offset is applied in COARSE. FINE is taken into account and is then subsequently deleted.
  • Page 449: Data For Measuring In Jog

    Data description 9.3 Data for measuring in JOG Data for measuring in JOG 9.3.1 Machine data for ensuring operability 11602 ASUP_START_MASK MD number Ignore stop conditions for ASUB Default setting: 0 Min. input limit: 0 Max. input limit: 3 Default setting: 0 For measuring in JOG: 1, 3 (Bit 0 = 1) Changes effective after POWER ON...
  • Page 450 Data description 9.3 Data for measuring in JOG 20110 RESET_MODE_MASK MD number Define control default setting after power-up and RESET Default setting: 0 Min. input limit: 0 Max. input limit: 07FFFH Default setting: 1 For measuring in JOG: at least 4045H (Bit 0 = 1, Bit 2 = 1, Bit 6 = 1, Bit 14 = 1) Changes effective after RESET Protection level: 2/7...
  • Page 451: Modifying The Gud7 Data Block

    Data description 9.3 Data for measuring in JOG 24006 CHSFRAME_RESET_MASK MD number Reset behavior of the channel-specific system frame, actual value setting and scratching (basis reference) Note: MD only relevant if frames are configured (MD 28082 SYSTEM_FRAME_MASK) Default setting: 0 Min.
  • Page 452 Data description 9.3 Data for measuring in JOG Commissioning "measuring in JOG" for the first time, up to measuring cycles SW 6.2.16 1. In this case, definition block GUD7.DEF must be modified. Select definition file GUD7.DEF in menu "Services" in directory "Definitions" with the arrow keys and unload it by pressing the softkey "Unload".
  • Page 453 Data description 9.3 Data for measuring in JOG Possibility of minimizing the memory requirements The number of available data fields (data arrays) regarding the measuring probes that can be connected, can be adapted by the machinery manufacturer to the specific relationships and situations.
  • Page 454 Data description 9.3 Data for measuring in JOG Basic settings of GUD7_MC.DEF Note For HMI with ShopMill If the settings for "Measuring in JOG" or "Measuring in manual" need changing, this should preferably be done in the display machine data for ShopMill. The corresponding cross- references between the ShopMill display machine data and the GUD7_MC parameters can also be seen in the following table! Date...
  • Page 455 Data description 9.3 Data for measuring in JOG Date Data type Meaning ShopMill 9764 E_MESS_MT_AX[3]=SET(133.133.13 INTEGER Permissible axis directions for tool probes in X and Y in plus and minus direction, in Z in minus direction only 9765 E_MESS_MT_DL[3] REAL Active diameter of tool measuring probe for length measurement 9766...
  • Page 456: Settings In Data Block Gud6

    Data description 9.3 Data for measuring in JOG 9.3.3 Settings in data block GUD6 The channel specific arrays _JM_I[ ], and _JM_B[ ] in data block GUD6 are used for adaptation to the requirements of the machine N92 DEF CHAN INT _JM_I[10]=SET(0,1,1,17,100,0,0,0,0,0) _JM_I[ ] INT value field for JOG measurement Min.
  • Page 457: Loading Files For Measuring In Jog

    Data description 9.3 Data for measuring in JOG _JM_B[ ] BOOL value field for JOG measurement Min. input limit: - Max. input limit: - Changes valid after value assignment Protection level: - Units: - Data type BOOLEAN Applies as of SW SW 5.3 Significance: Preset default _JM_B[0]...
  • Page 458 Data description 9.3 Data for measuring in JOG File Description E_MS_HOL.SPF To measure a hole E_MS_PIN.SPF To measure a spigot/shaft E_MS_POC.SPF To measure a rectangular pocket E_MS_SPI.SPF To measure a rectangular spigot E_MT_CAL.SPF For calibrating a tool measuring probe E_MT_LEN.SPF For length measurement of a tool E_MT_RAD.SPF For radius measurement of a tool...
  • Page 459: Start-Up (Hardware)

    Start-up (hardware) 10.1 Commissioning measuring cycles for the first time 10.1 10.1.1 Requirements • The hardware and software requirements of the measuring cycle version have been fulfilled (see chapter 8 "Hardware, software and installation"). • The probe is functional (Functional check probe connection → see chapter 8 "Hardware, software and installation").
  • Page 460 Start-up (hardware) 10.1 Commissioning measuring cycles for the first time \demo Example programs: measuring cycles in simulation \jog_meas Files for measuring in JOG \jog_meas\cycles\cyp_file Files for version display in HMI \jog_meas\cycles\spf_file individual cycle programs \jog_meas\define Data blocks, definitions for measuring cycles \jog_meas\hmi_adv Files, images - zipped \hmi_adv...
  • Page 461: Steps For Commissioning Measuring Cycles For The First Time

    Start-up (hardware) 10.2 Steps for commissioning measuring cycles for the first time 10.2 Steps for commissioning measuring cycles for the first time 10.2 10.2.1 General information Manufacturer password must be set! (HMI\Commissioning\Password) 10.2.2 Step 0.1 – set up memory configuring machine data •...
  • Page 462: Step 0.3 - Set Up Machine Data For Measuring In Jog

    Start-up (hardware) 10.2 Steps for commissioning measuring cycles for the first time 10.2.4 Step 0.3 - set up machine data for measuring in JOG • The following machine data should only be parameterized for the "Measuring in JOG" function (for details, see section 9.3 "Data for measuring in JOG") •...
  • Page 463: Commissioning Measuring Cycles For Hmi-Advanced Pcu50 Powerline Up To Sw

    Start-up (hardware) 10.3 Commissioning measuring cycles for HMI-Advanced PCU50 powerline up to SW 06.03.18 and/or SW 06.04.08 10.3 Commissioning measuring cycles for HMI-Advanced PCU50 powerline 10.3 up to SW 06.03.18 and/or SW 06.04.08 10.3.1 Requirements Successful execution of steps 0.1, 0.2 and as an option step 0.3 from chapters 10.2.2, 10.2.3 and 10.2.4.
  • Page 464: Only For Measuring In Jog Up To Measuring Cycle Release Sw 6.02.16

    Start-up (hardware) 10.3 Commissioning measuring cycles for HMI-Advanced PCU50 powerline up to SW 06.03.18 and/or SW 06.04.08 10.3.2.2 Only for measuring in JOG up to measuring cycle release SW 6.02.16 Only for measuring in JOG up to measuring cycles SW 6.02.16 Variant 1 The GUD7.DEF is not active in the NCU.
  • Page 465: Step 2 - Load Cycle Programs

    Start-up (hardware) 10.3 Commissioning measuring cycles for HMI-Advanced PCU50 powerline up to SW 06.03.18 and/or SW 06.04.08 Variant 2.1 The GUD7.DEF is already active in the NCU, the GUD7_MC.DEF is not active. (HMI/Services/Manage data) • Save data to the archive or floppy disk using "Services", "Data out", folder "NC-active data", "User data".
  • Page 466: Step 3 - Load Measuring Cycle Text Files

    Start-up (hardware) 10.3 Commissioning measuring cycles for HMI-Advanced PCU50 powerline up to SW 06.03.18 and/or SW 06.04.08 10.3.4 Step 3 – load measuring cycle text files When using measuring cycles, the measuring cycle text files have to be loaded afterward. •...
  • Page 467: Step 6 - Activate Measuring Cycle Support, Configure

    Start-up (hardware) 10.3 Commissioning measuring cycles for HMI-Advanced PCU50 powerline up to SW 06.03.18 and/or SW 06.04.08 10.3.7 Step 6 – activate measuring cycle support, configure The entry softkeys "Measure turning" and "Measure milling" for measuring cycle support are activated in the file AEDITOR.COM ("Services" are in the directory "Standard cycles") by deleting the semicolons in front of the following lines: ;HS14=($83530,,se1) ;PRESS(HS14)
  • Page 468: Step 8 - Set Measuring Cycle Data

    Start-up (hardware) 10.3 Commissioning measuring cycles for HMI-Advanced PCU50 powerline up to SW 06.03.18 and/or SW 06.04.08 10.3.9 Step 8 – set measuring cycle data • Check default values of the GUD variables and set other values, if necessary. • That is done by selecting and changing the variables in "Parameters", "User data" … or using a program (see Section 9.3).
  • Page 469: Commissioning Measuring Cycles For Hmi-Advanced Pcu50 Powerline As Of Sw 06.03.19. And/Or Sw 06.04.10 And Hmi-Advanced Pcu50 Solutionline

    Start-up (hardware) 10.4 Commissioning measuring cycles for HMI-Advanced PCU50 powerline as of SW 06.03.19. and/or SW 06.04.10 and HMI-Advanced PCU50 Solutionline 10.4 Commissioning measuring cycles for HMI-Advanced PCU50 powerline 10.4 as of SW 06.03.19. and/or SW 06.04.10 and HMI-Advanced PCU50 Solutionline 10.4.1 Requirements Successful execution of steps 0.1, 0.2 and as an option step 0.3 from chapters 10.2.2, 10.2.3...
  • Page 470: Step 2 - Load Other Archive

    Start-up (hardware) 10.4 Commissioning measuring cycles for HMI-Advanced PCU50 powerline as of SW 06.03.19. and/or SW 06.04.10 and HMI-Advanced PCU50 Solutionline 10.4.3 Step 2 – load other archive Load the archive files needed using the "Start" softkey using "Services", "Data in", "Archive", "Cycles archive", "Measuring cycles"...
  • Page 471: Step 3 - Activate Entry Softkeys "Measure Turning" And "Measure Milling" For Measuring Cycle Support

    Start-up (hardware) 10.4 Commissioning measuring cycles for HMI-Advanced PCU50 powerline as of SW 06.03.19. and/or SW 06.04.10 and HMI-Advanced PCU50 Solutionline 10.4.4 Step 3 - activate entry softkeys "Measure turning" and "Measure milling" for measuring cycle support Use the Enter key to open AEDITOR.COM in the "Services" operating area in the "Standard cycles"...
  • Page 472: Step 6 - Set Measuring Cycle Data

    Start-up (hardware) 10.4 Commissioning measuring cycles for HMI-Advanced PCU50 powerline as of SW 06.03.19. and/or SW 06.04.10 and HMI-Advanced PCU50 Solutionline 10.4.7 Step 6 – set measuring cycle data • Check default values of the GUD variables and set other values, if necessary. •...
  • Page 473: 10.5 Commissioning Measuring Cycles For Hmi-Embedded Pcu20 Powerline

    Start-up (hardware) 10.5 Commissioning measuring cycles for HMI-Embedded PCU20 powerline 10.5 Commissioning measuring cycles for HMI-Embedded PCU20 10.5 powerline 10.5.1 Requirements • Successful execution of steps 0.1 and 0.2 from chapters 10.2.2 and 10.2.3. • As of V06.03.30 of HMI-Embedded, the measuring cycles are integrated in the software. •...
  • Page 474: Step 5 - Configure Measuring Cycle Support

    Start-up (hardware) 10.5 Commissioning measuring cycles for HMI-Embedded PCU20 powerline 10.5.6 Step 5 – configure measuring cycle support The measuring cycle screen forms can be set via GUD field _MZ_MASK. It is of type integer and is located in the GUD6 under NCK global data. In the "Start-up" operating area under softkey "Meas.
  • Page 475: Step 7 - Incorporate Files For Measurement Result Display

    Start-up (hardware) 10.5 Commissioning measuring cycles for HMI-Embedded PCU20 powerline 10.5.8 Step 7 – incorporate files for measurement result display • The following files must be incorporated in the HMI-Embedded software for the measurement result display. – HMI_EMB\MCRESULT\MZBILD01.COM – HMI_EMB\MCRESULT\MZBILD02.COM –...
  • Page 476: Step 9 - Incorporate Displays For Measuring Cycle Support

    Start-up (hardware) 10.5 Commissioning measuring cycles for HMI-Embedded PCU20 powerline 10.5.10 Step 9 – incorporate displays for measuring cycle support • The tools make_cst.bat, mcst_800.bat and mcst1024.bat for three screen sizes (OP10, OP12, OP15) are supplied for packing the Bitmap files for the measuring cycle support. •...
  • Page 477: Commissioning Measuring Cycles, Hmi-Embedded Tcu Solution Line Sw 1.X

    Start-up (hardware) 10.6 Commissioning measuring cycles, HMI-Embedded TCU solution line SW 1.x 10.6 Commissioning measuring cycles, HMI-Embedded TCU solution line 10.6 SW 1.x 10.6.1 Requirements The software release of the measuring cycles to be started up must be present on the CF card.
  • Page 478: Step 2 - Activate Definition Files

    Start-up (hardware) 10.6 Commissioning measuring cycles, HMI-Embedded TCU solution line SW 1.x 10.6.3 Step 2 – activate definition files In the "Program" operating area, use the etc. key ">" to change to the 3rd level. Press the softkey "Definition files", then individually select the definitions GUD5.DEF, GUD6.DEF, and GUD7.DEF and press the softkey "Activate".
  • Page 479: Upgrading Measuring Cycles

    Start-up (hardware) 10.7 Upgrading measuring cycles 10.7 Upgrading measuring cycles 10.7 10.7.1 General information Upgrading measuring cycles is basically performed in the same order as initial installation. Special notes: • Only use files with the same measuring cycle software version. Do not mix files with different versions! •...
  • Page 480: Requirements

    Start-up (hardware) 10.7 Upgrading measuring cycles 10.7.3 Upgrading measuring cycles for HMI-Advanced PCU50 powerline as of SW 06.03.19. and/or as of SW 06.04.10 and HMI-Advanced PCU50 solution line 10.7.3.1 Requirements For meas. cycles SW 6.2 Transfer the following archive from the subdirectory "hmi_adv" (supplied on a floppy disk) to the HMI using "Services", "Data in"...
  • Page 481: Step 1 - Load Definition Files

    Start-up (hardware) 10.7 Upgrading measuring cycles 10.7.3.2 Step 1 – load definition files Save data to the archive or floppy disk using "Services", "Data out", folder "NC-active data", "User data". Select the GUD5.DEF, GUD6.DEF and if necessary GUD7_MC.DEF modules singly in the area "Services", "Manage data", in the folder "Definitions" and press softkey "Unload NC →...
  • Page 482: Step 3 - Update Bitmaps

    Start-up (hardware) 10.7 Upgrading measuring cycles 10.7.3.4 Step 3 – update Bitmaps Selection "Commissioning", "Machine data", "Display MD" Set display machine data MD 9021 LAYOUT_MODE = 1. Turn HMI-Adv off and on again. Set display machine data MD 9021 LAYOUT_MODE = 0. Turn HMI-Adv off and on again.
  • Page 483: Sequence For Probe Installation

    Start-up (hardware) 10.8 Sequence for probe installation 10.8 Sequence for probe installation 10.8 Start Check measuring function with test program TEST_PROBE See Section 8.3 Single block ? Override to zero ? NC START Measuring block with MEAS present? Let NC block be machined Measuring cycles 10-25...
  • Page 484 Start-up (hardware) 10.8 Sequence for probe installation Measuring cycles 10-26 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 485: Example Of Calculating The Repeat Accuracy

    Start-up (hardware) 10.9 Example of calculating the repeat accuracy 10.9 Example of calculating the repeat accuracy 10.9 Test program This program allows the measuring scatter (repeat accuracy) of the entire measuring system (machine-probe-signal transmission to NC) to be calculated. In the example, ten measurements are taken in the X axis and the measured value recorded in the workpiece coordinates.
  • Page 486 Start-up (hardware) 10.9 Example of calculating the repeat accuracy Measuring cycles 10-28 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 487: Alarm, Error, And System Messages

    Alarm, error, and system messages 11.1 General notes 11.1 If faulty states are detected in the measuring cycles, an alarm is generated and execution of the measuring cycle is aborted. In addition, the measuring cycles issue messages in the dialog line of the PLC. These message will not interrupt the program execution.
  • Page 488 Alarm, error, and system messages 11.3 Overview of measuring cycle alarms Measuring cycles 11-2 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 489: Adaptation Of The Measuring Cycles To Previous Software Versions

    Adaptation of the Measuring Cycles to Previous Software Versions 12.1 General information Parameter _SI[1] in data block GUD6 is used to adapt measuring cycle versions up to SW 5 to previous NC software versions. In the delivery status of the measuring cycles, the current software status of the control is sntered in parameter _SI[1], i.e.
  • Page 490 Adaptation of the Measuring Cycles to Previous Software Versions 12.2 Measuring cycle subroutines Programming Cycle Function As of SW 4 As of SW As of SW CYCLE100 Activate logging CYCLE101 Deactivate logging CYCLE102 Measuring result display CYCLE103 Parameter setting in interactive mode CYCLE104 Internal subroutine: Measuring cycle interface CYCLE105...
  • Page 491: Appendix

    Appendix Overview of measuring cycle parameters Parameter definition Illustration in the Meaning table (cell) Parameter must be defined and/or the parameter's definition depends on the measuring variant, other parameters or the machine configuration. ---- Parameter is not used in the cycle Overview CYCLE961 Workpiece measurements...
  • Page 492 Appendix A.1 Overview of measuring cycle parameters CYCLE961 Workpiece measurements _INCA REAL Angle from 1st edge to 2nd edge of the workpiece ---- ---- 179.5 (clockwise negative) ..179.5 degrees ---- ---- ---- ---- ---- ---- _KNUM Without/with automatic offset of the ZO memory >=0 0: Without offset 1...99: automatic offset in ZO G54...G57 G505...G599...
  • Page 493 Appendix A.1 Overview of measuring cycle parameters CYCLE961 Workpiece measurements _SETV[7] REAL ---- ---- ---- ---- Coordinates of point P4 in the active workpiece coordinate system (ordinate) _STA1 REAL Approx. angle of posit. direction of the abscissa with ---- ---- 0...360 respect to 1st edge of the workpiece degrees...
  • Page 494 Appendix A.1 Overview of measuring cycle parameters CYCLE971 Tool measurement of milling tools on milling machines Parameter Type Possible axes GUD5 Abscissa (_MA=1) / ordinate (_MA=2) / applicate (_MA=3) for G17: X=1 / Y=2 / Z=3 for G18: Z=1 / X=2 / Y=3 for G19: Y=1 / Z=2 / X=3 Calibrating tool probe Measuring tool...
  • Page 495 Appendix A.1 Overview of measuring cycle parameters CYCLE971 Tool measurement of milling tools on milling machines 10000 10010 from meas. cycles SW 6.3: ---- ---- Calibrate automatically 100000 100010 ---- ---- _NMSP Number of measurements at the same location >0 _PRNUM Tool probe number >0...
  • Page 496 Appendix A.1 Overview of measuring cycle parameters CYCLE972 Tool measurement of turning tools with cutting edge position 1 – -8 on turning machines (machine-related) Possible axes Parameter Type GUD5 Abscissa (_MA=1) / ordinate (_MA=2) for G17: X=1 / Y=2 for G18: Z=1 / X=2 for G19: Y=1 / Z=2 Calibrating tool probes Measuring tool...
  • Page 497 Appendix A.1 Overview of measuring cycle parameters CYCLE973 Workpiece measurements Parameter Type Possible axes GUD5 Abscissa (_MA=1) / ordinate (_MA=2) / applicate (_MA=3) for G17: X=1 / Y=2 / Z=3 for G18: Z=1 / X=2 / Y=3 for G19: Y=1 / Z=2 / X=3 Calibrating tool probes Machine-related Workpiece-related...
  • Page 498 Appendix A.1 Overview of measuring cycle parameters CYCLE973 Workpiece measurements _SETV[8] REAL ---- Calibration setpoint _STA1 REAL ---- ---- _SZA REAL ---- ---- _SZO REAL ---- ---- _TDIF REAL ---- ---- _TMV REAL ---- ---- _TNAME STRING ---- ---- [32] _TNUM ---- ----...
  • Page 499 Appendix A.1 Overview of measuring cycle parameters CYCLE974 Workpiece measurements CYCLE994 _KNUM without/with automatic without / with automatic tool offset (D number) >=0 offset of the ZO 0: without tool offset memory 0: Without offset 1...99 Normal D number structure Flat D number structure automatic offset in ZO G54...G57...
  • Page 500 Appendix A.1 Overview of measuring cycle parameters CYCLE974 Workpiece measurements CYCLE994 _SZO REAL ---- ---- ---- ---- _TDIF REAL ---- Dimension difference check _TMV REAL ---- Tool name (alternative for "_TNUM" if tool management active) _TNAME STRING ---- Name of tool environment for automatic tool compensation (from [32] measuring cycles SW 6.3) _TNUM...
  • Page 501 Appendix A.1 Overview of measuring cycle parameters CYCLE976 Workpiece measurements Calibration on surface _MVAR=0 Calibration on surface _MVAR=10000 calibration on surface with calculation of the probe length only permissible with _MA=3! _NMSP INT >0 Number of measurements at the same location _PRNUM INT >0 (number of the data field assigned to the workpiece probe...
  • Page 502 Appendix A.1 Overview of measuring cycle parameters CYCLE977 Workpiece measurements Parameter Type Possible measuring axes GUD5 Abscissa (_MA=1) / ordinate (_MA=2) for G17: X=1 / Y=2 for G18: Z=1 / X=2 for G19: Y=1 / Z=2 Measuring with automatic tool offset Measuring with automatic ZO correction Hole...
  • Page 503 Appendix A.1 Overview of measuring cycle parameters CYCLE977 Workpiece measurements with active G500 in the last active channel-specific basic frame ---- ---- Measuring axis 1...2 ---- ---- Measuring axis 1...2 ---- ---- ---- ---- ---- ---- ---- _MVAR Measuring variant >0 1xxx measurement traveling around or taking account of a safety zone _NMSP...
  • Page 504 Appendix A.1 Overview of measuring cycle parameters CYCLE978 Workpiece measurements Parameter Type Possible measuring axes GUD5 Abscissa (_MA=1) / ordinate (_MA=2) for G17: X=1 / Y=2 for G18: Z=1 / X=2 for G19: Y=1 / Z=2 Measuring with automatic tool offset Measuring with automatic ZO correction _CALNUM...
  • Page 505 Appendix A.1 Overview of measuring cycle parameters CYCLE978 Workpiece measurements frame Measuring axis 1...3 ---- ---- _MVAR Measuring variant >=0 1000 1100 (Difference measurement (Difference measurement not with mono probe) not with mono probe) _NMSP Number of measurements at the same location _PRNUM >0 (number of the data field assigned to the tool probe...
  • Page 506 Appendix A.1 Overview of measuring cycle parameters CYCLE979 Workpiece measurements Parameter Type Possible measurements GUD5 G17: X-Y plane G18: Z-X plane G19: Y-Z plane Measuring with automatic tool offset Measuring with automatic ZO correction Hole Shaft Groove Hole Shaft Groo _CALNUM ---- ----...
  • Page 507 Appendix A.1 Overview of measuring cycle parameters CYCLE979 Workpiece measurements basic frame ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- _MVAR Measuring variant >0 1xxx measurement traveling around or taking account of a safety zone _NMSP Number of measurements at the same location >0 _PRNUM >0...
  • Page 508 Appendix A.1 Overview of measuring cycle parameters CYCLE982 Workpiece measurements Parameter Type Possible measuring axes GUD5 Abscissa (_MA=1) / ordinate (_MA=2) for G17: X=1 / Y=2 for G18: Z=1 / X=2 for G19: Y=1 / Z=2 Calibrating tool probe Measuring tool Automatic tool measurement Machine- Workpiece-...
  • Page 509 Appendix A.1 Overview of measuring cycle parameters CYCLE982 Workpiece measurements _NMSP Number of measurements at the same location >0 _PRNUM Tool probe number >0 (number of the data field assigned to the workpiece probe GUD6: _TPW [_PRNUM-1,i] [_PRNUM-1,i] [_PRNUM-1,i] [_PRNUM-1,i] [_PRNUM-1,i] [_PRNUM-1,i] ----...
  • Page 510 Appendix A.1 Overview of measuring cycle parameters CYCLE997 Workpiece measurements Parameter Type Possible measurements GUD5 G17: X-Y plane G18: Z-X plane G19: Y-Z plane Measuring with automatic ZO correction 1 sphere 1 sphere REAL Measurement path in mm >0 _INCA REAL Incremental angle (for _MVAR=xx1109 only, measuring at an angle) _KNUM...
  • Page 511 Appendix A.1 Overview of measuring cycle parameters CYCLE997 Workpiece measurements REAL Velocity for intermediate paths on circular path (G2 or G3) (or _MVAR=xx1109 only, measuring at an angle) _SETV[8] REAL Setpoints, center point of the spheres (balls) _STA1 REAL Starting angle (for _MVAR=xx1109 only, measuring at an angle) _TNVL REAL ----...
  • Page 512 Appendix A.1 Overview of measuring cycle parameters CYCLE998 Workpiece measurements 301: Measuring axis for _MVAR=1xx10x only for _MVAR=1xx10x only _MVAR Measuring variant >0 1105 ---- (Difference measurement not with mono probe) _NMSP Number of measurements at the same location _PRNUM >0 (number of the data field assigned to the workpiece probe GUD6:_WP[_PRNUM(2-digit)-1])
  • Page 513 Appendix A.1 Overview of measuring cycle parameters Result parameters calibration CYCLE: 971 972 973 97 GUD5 Data type Meaning _OVR [0] REAL ---- ---- ---- ---- _OVR [1] REAL ---- ---- ---- ---- _OVR [2] REAL ---- ---- ---- ---- _OVR [3] REAL ----...
  • Page 514 Appendix A.1 Overview of measuring cycle parameters Result parameters measurement (turning machines) GUD5 Data type Meaning CYCLE974 CYCLE994 CYCLE972 CYCLE982 _OVR [0] REAL Setpoint Measuring Diameter/radius ---- axis _OVR [1] REAL Setpoint Abscissa Abscissa ---- _OVR [2] REAL Setpoint Ordinate Ordinate ---- _OVR [3]...
  • Page 515 Appendix A.1 Overview of measuring cycle parameters Result parameters measurement (turning machines) GUD5 Data type Meaning CYCLE974 CYCLE994 CYCLE972 CYCLE982 _OVI [0] D number / ZO number ---- _OVI [1] ---- ---- ---- _OVI [2] Measuring cycle number _OVI [3] Measuring variant ---- ----...
  • Page 516 Appendix A.1 Overview of measuring cycle parameters Result parameters measurement (milling and machining centers) CYCLE998 _OVR [12] REAL Actual value ---- Sphere diameter ---- 2nd sphere _OVR [13] REAL Actual value ---- Center point coordinates ---- for abscissa 2nd sphere _OVR [14] REAL Actual value ----...
  • Page 517 Appendix A.1 Overview of measuring cycle parameters Result parameters measurement (milling and machining centers) CYCLE998 _OVI [2] Measuring cycle number _OVI [3] Measuring variant ---- ---- ---- _OVI [4] Weighting factor ---- ---- ---- ---- _OVI [5] Probe no. _OVI [6] mean value memory ---- ----...
  • Page 518 Appendix A.1 Overview of measuring cycle parameters Result parameters measurement (milling and machining centers) CYCLE977 CYCLE978 CYCLE979 point/center Actual value rectangle ---- Ordinate ---- ---- length _OVR [6] REAL Actual value Ordinate ---- ---- Ordinate Actual value rectangle ---- Abscissa ---- ---- center point...
  • Page 519 Appendix A.1 Overview of measuring cycle parameters Result parameters measurement (milling and machining centers) CYCLE977 CYCLE978 CYCLE979 REAL ---- ---- ---- ---- _OVR [21] REAL ---- ---- ---- ---- _OVR [22] REAL ---- ---- ---- ---- _OVR [23] REAL ---- ---- ---- ----...
  • Page 520 Appendix A.1 Overview of measuring cycle parameters NC machine data Identifier Description Max. input Default Value for number value value meas. cycles 10132 MMC-CMD-TIMEOUT Monitoring time for MMC command in part program 11420 LEN_PROTOCOL_FILE File size for log files 13200 MEAS_PROBE_LOW_ACTIV Switching characteristics of TRUE...
  • Page 521 Appendix A.1 Overview of measuring cycle parameters Cycle data The measuring cycle data are stored in blocks GUD5 and GUD6. Central values Block Identifier Description As-delivered value _CVAL[ ] Number of elements GUD6 _CVAL[0] Number of data fields for tool probe, machine-related GUD6 _CVAL[1] Number of data fields for workpiece probe...
  • Page 522 Appendix A.1 Overview of measuring cycle parameters Cycle data The measuring cycle data are stored in blocks GUD5 and GUD6. Central values Block Identifier Description As-delivered value GUD6 _TPW[k,7] Assigned internally GUD6 _TPW[k,8] Probe type 0: Cube 101: Disk in XY 201: Disk in ZX 301: disk in YZ GUD6...
  • Page 523 Appendix A.1 Overview of measuring cycle parameters Central values Block Identifier Description As-delivered value _KB[ ] Gauging block GUD6 _KB[k,0] Groove edge in plus direction, ordinate GUD6 _KB[k,1] Groove edge in minus direction, ordinate GUD6 _KB[k,2] Groove base in abscissa GUD6 _KB[k,3] Groove edge in plus direction, abscissa...
  • Page 524 Appendix A.1 Overview of measuring cycle parameters Central value for logging GUD6 _PROTFORM Int field for formatting for log GUD6 _PROTFORM[0] Number of line per page GUD6 _PROTFORM[1] Number of characters per line GUD6 _PROTFORM[2] First page number GUD6 _PROTFORM[3] Number of header lines GUD6 _PROTFORM[4]...
  • Page 525 Appendix A.1 Overview of measuring cycle parameters Central bits Block Identifier Description As-delivered value GUD6 _CBIT[5] Tool measurement and calibration in the WCS in CYCLE982 (from measuring cycles SW 5.4) 0: machine-related measurement and calibration 1: workpiece-related measurement and calibration Note: In both cases, the _TP[ ] field of the probe is used.
  • Page 526 Appendix A.1 Overview of measuring cycle parameters Central strings Block Identifier Description As-delivered value Central strings GUD6 _SI[0] currently not assigned GUD6 _SI[1] Software Version Central strings for logging _PROTNAME (32 chars) GUD6 _PROTNAME [0] Name of the main program to log from (for log header) GUD6 _PROTNAME [1]...
  • Page 527 Appendix A.1 Overview of measuring cycle parameters Channel-specific values (for measuring in JOG) Block Identifier Description As-delivered value GUD6 I [0] Setting for the workpiece probe number 0: Specification by I[1] 1: Set by tool parameters (ShopMill) GUD6 I [1] Probe number for workpiece measurement (_PRNUM) only if I[0]=0...
  • Page 528 Appendix A.1 Overview of measuring cycle parameters Channel-specific values (for measuring in JOG, from measuring cycles SW6.3, GUD7_MC) Block Identifier Description As-delivered value measurement GUD7 E_MESS_FM Measuring feed [mm/rev] GUD7 E_MESS_F Plane feedrate for collision monitoring [mm/min] 2000 GUD7 E_MESS_FZ Infeed feedrate for collision monitoring [mm/min] 2000 GUD7...
  • Page 529 Appendix A.1 Overview of measuring cycle parameters Channel-specific values (for measuring in JOG, from measuring cycles SW6.3, GUD7_MC) Block Identifier Description As-delivered value GUD7 E_MESS_AM Internal data item 1) During installation value input is mandatory here! Channel-oriented bits Block Identifier Description As-delivered value...
  • Page 530 Appendix A.1 Overview of measuring cycle parameters Channel-oriented bits Block Identifier Description As-delivered value _CHBIT Channel bits GUD6 _CHBIT[10] Measuring result display 0: OFF 1: ON GUD6 _CHBIT[11] Acknowledgment measurement result screen with NC start 0: OFF (If _CHBIT[18]=0, the display is automatically deselected at end of cycle.) 1: ON (M0 is generated in the cycle.) GUD6...
  • Page 531 Appendix A.1 Overview of measuring cycle parameters Channel-oriented bits Block Identifier Description As-delivered value _CHBIT Channel bits 1: suppression ON GUD6 _CHBIT[21] (CYCLE974, CYCLE977, CYCLE978, CYCLE979, CYCLE9997 only) Mode of ZO compensation 0: offset additive in FINE 1: offset in COARSE, delete FINE GUD6 _CHBIT[22] (CYCLE971 only):...
  • Page 532 Appendix A.1 Overview of measuring cycle parameters Measuring cycles A-42 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 533: List Of Abbreviations

    List of abbreviations ASUB Asynchronous subroutine User interface Computerized Numerical Control Computerized numerical control Central Processing Unit Central processing unit Deutsche Industrie Norm (German Industry Standard) Disk Operating System Differential Resolver Function: Differential function for handwheel signaling Input/Output FM-NC Function module - numerical control Global User Data Global user data Start up JOGging: Setup mode...
  • Page 534 List of abbreviations A.1 Overview of measuring cycle parameters Measuring cycles Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 535: Parameter

    Parameter List of input/output variables for cycles Name Meaning in English Meaning in German _CALNUM Calibration groove number Number of the gauging block _CBIT[30] Central Bits Field for NCK global bits _CHBIT[16] Channel Bits Field for channel-specific bits _CM[8] Field: Monitoring functions for tool measurement with rotating spindle each with eight elements _CORA Correction angle position...
  • Page 536 Parameter A.1 Overview of measuring cycle parameters Name Meaning in English Meaning in German Number of rotary axis Number Feedrate for circular interpolation Feedrate in circular-path programming _SETVAL Setpoint value Setpoint _SETV[9] Measure setpoints for square-rectangle _SI[3] System information System information _SPEED[4] Field: Feed values _STA1...
  • Page 537: Glossary

    Glossary Actual/set difference Difference between measured and expected value. Asynchronous subroutine Part program that can be started asynchronously to (independently of) the current program status using an interrupt signal (e.g., "Rapid NC input" signal). Blank measurement The blank measurement ascertains the position, deviation, and zero offset of the workpiece in the result of a ->...
  • Page 538 Glossary Delete distance-to-go 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.
  • Page 539 Glossary Measurement result display Measurement result displays can be shown automatically during measuring cycle runtime. Activation of this function depends on the settings in the measuring cycle data. Measuring a workpiece at an angle A measurement variant used to measure a drill-hole, shaft, groove, or web at random angles.
  • Page 540 Glossary Multi probe A multi(directional) probe is one that can deflect in three dimensions. Multiple measurement at the same location Parameter _NMSP can be used to determine the number of measurements at the same location. The actual/set difference is determined arithmetically. Offset angle position If a ->...
  • Page 541 Glossary Reference groove A groove located in the working area (permanent feature of the machine) whose precise position is known and that can be used to calibrate workpiece probes. Safe area The safe area _TSA does not affect the offset value; it is used for diagnosis. If this limit is reached, there is a defect in the probe or the set position is incorrect.
  • Page 542 Glossary Variable measuring speed The measuring velocity can be freely selected by means of _VMS. The maximum measuring velocity must be selected to ensure safe deceleration within the probe deflecting path. -> Measuring velocity Weighting factor for mean value calculation The weighting factor k can be applied to allow different weighting to be given to an individual measurement.
  • Page 543 Index CYCLE_971, 7-17 CYCLE_972, 7-17 CYCLE_974, 7-22 CYCLE_976, 7-16 1-point measurement, 5-76, 6-66, 6-69, 6-71 CYCLE_977_979A, 7-18 1-point measurement with reversal, 6-75 CYCLE_977_979B, 7-18 CYCLE_977_979C, 7-19 CYCLE_978, 7-20 CYCLE_994, 7-23 2-point measurement, 6-79 CYCLE_998, 7-20 CYCLE_CAL_PROBE, 7-15 CYCLE_CAL_TOOLSETTER, 7-15 CYCLE_PARA, 7-14 CYCLE113, 7-3 Angle measurement, 7-20 CYCLE116, 3-2...
  • Page 544 Index Function, 4-1 Workpiece measurement, 4-5 Function test, 8-8 Workpiece measurement: measure edge, 4-12 Workpiece measurement: measuring hole, 4-23 Workpiece measurement: orienting a plane, 4-33 Workpiece measuring: measuring corner, 4-19 Gauging block, 1-13 Workpiece measuring: measuring pocket, 4-23 Workpiece measuring: measuring spigot, 4-23 Measuring milling tools, 7-17 Measuring strategy, 1-24, 5-6 Measuring tool, 5-21, 6-28...
  • Page 545 Index Software requirements, 8-7 Variables when logging, 7-5 Starting position/Setpoint position, 1-21 Switching edge probe, 9-32 Workpiece Angle measurement and ZO determination, 5-95 Tolerance bottom limit, 1-28 Measure groove paraxially, 5-48 Tolerance parameters, 2-15 Measure hole paraxially, 5-48 Tolerance top limit, 1-28 Measure rectangle paraxially, 5-48 Tool Measure shaft paraxially, 5-48...
  • Page 546: Index

    Index Measuring cycles Index-4 Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0...
  • Page 547 Suggestions Siemens AG Corrections For Publication/Manual : A&D MC MS P.O. Box 3180 SINUMERIK 8 D-91050 Erlangen 840D sl/840D/840Di sl/840Di/810D Measuring cycles Federal Republic of Germany Programming Manual Tel.: +49 (0) 180 / 5050 – 222 [Service Support] Fax: +49 (0) 9131 / 98 – 63315 [Documentación] E-Mail [email protected]...
  • Page 549 Overview of SINUMERIK 840D sl/840Di sl Documentation (04/2006) General Documentation SINAMICS SINUMERIK SINUMERIK S120 840D sl 840Di sl Brochure Catalog NC 61 *) Catalog D21.2 Servo Control *) User Documentation SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK 840D sl 840D sl 840D sl...
  • Page 551 Overview of SINUMERIK 840D/840Di/810D Documentation (04/2006) General Documentation Saftey Integrated SINUMERIK SINUMERIK 840D 840Di 810D Brochure Catalog NC 61 *) Saftey Integrated Application Manual User Documentation SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK 840D sl 840D sl 840D sl 840D sl 840D 840Di 840D...

Table of Contents