Download Print this page
   
1
2
3
4
5
6
Table of Contents
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476

Advertisement

SINUMERIK SINUMERIK 840D sl/840D/840Di sl/840Di/810D Measuring cycles
SINUMERIK
SINUMERIK 840D sl/840D/840Di
sl/840Di/810D
Measuring cycles HMI sl
Programming Manual
Valid for
SINUMERIK 840D sl/840DE sl
SINUMERIK 840Di sl/840DiE sl controls
Software
NCU system software for 840D sl/840DE sl
With measuring cycles HMI sl
03/2009 Edition
6FC5398-4BP10-2BA0
______________
General
______________
Parameter description
Measuring cycle help
______________
programs
______________
Measuring Cycles for Milling
______________
and Machining Centers
Measuring Cycles for
______________
Turning Machines
______________
Miscellaneous functions
______________
______________
______________
Alarm, error, and system
______________
messages
______________
Appendix
______________
______________
Parameter
Feedback on the
Version
______________
documentation
2.6
2.6
______________
Overview
1
2
3
4
5
6
7
8
9
10
11
A
B
C
D
E

Advertisement

   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 HMI sl Measuring Cycles for Milling ______________ and Machining Centers Programming Manual...

  • Page 2

    Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.

  • Page 3: Preface

    ● Researching documentation online Information on DOConCD and direct access to the publications in DOConWEB. ● Compiling individual documentation on the basis of Siemens contents with the My Documentation Manager (MDM), refer to http://www.siemens.com/mdm. My Documentation Manager provides you with a range of features for generating your own machine documentation.

  • Page 4

    If you have any questions, please contact our Hotline: Europe / Africa Phone +49 180 5050 222 +49 180 5050 223 €0.14/min. from German landlines, mobile phone prices may differ. Internet http://www.siemens.com/automation/support-request America Phone +1 423 262 2522 +1 423 262 2200 E-mail mailto:techsupport.sea@siemens.com...

  • 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. Note...

  • Page 6

    Preface Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 7: Table Of Contents

    Table of contents Preface ..............................3 General..............................13 Basics............................13 General prerequisites........................15 Behavior on block search, dry run, program testing, simulation..........16 Reference points on the machine and workpiece................17 Definition of the planes, tool types ....................19 Probes that can be used ......................22 Probe, calibration body, calibration tool..................24 1.7.1 Measuring workpieces on milling machines, machining centers ..........24...

  • Page 8: Table Of Contents

    Table of contents 2.3.6 Correcting setup and additive offset in workpiece measurement: _DLNUM ......73 2.3.7 Correcting the tool of a stored tool environment: _TENV ............74 2.3.8 Example of automatic tool offset with and without saved tool environment in workpiece measuring cycles ........................

  • Page 9: Table Of Contents

    Table of contents 5.3.2.2 Programming example.......................124 5.3.2.3 Operational sequence........................126 5.3.3 Calibrating a workpiece probe in a hole of unknown hole center point ........127 5.3.3.1 General information ........................127 5.3.3.2 Programming example.......................129 5.3.3.3 Operational sequence........................130 5.3.4 Calibration of a workpiece probe on a surface ................131 5.3.4.1 General information ........................131 5.3.4.2...

  • Page 10: Table Of Contents

    Table of contents 5.7.3.1 General information........................202 5.7.3.2 Programming example 1 ......................203 5.7.3.3 Programming example 2 ......................205 5.7.3.4 Operational sequence ....................... 208 CYCLE961 workpiece: Setup inside and outside corner ............209 5.8.1 Function overview ........................209 5.8.2 Setting up a corner with definition of distances and angles............212 5.8.2.1 General information........................

  • Page 11: Table Of Contents

    Table of contents 6.2.3 Determining dimensions of calibration..................270 6.2.4 Measure turning tool (machine-related)..................271 CYCLE982 tool: Measure turning and milling tools ..............277 6.3.1 Function overview ........................277 6.3.2 Calibrating tool probes .......................284 6.3.3 Measuring tool..........................287 6.3.4 Automatic tool measurement .....................296 6.3.5 Incremental calibration.......................303 6.3.6 Incremental measurement ......................307 6.3.7...

  • Page 12: Table Of Contents

    Table of contents 7.2.1.3 Softkey bars for milling......................365 7.2.1.4 Programming example ......................368 7.2.2 Presetting measuring cycle support in HMI sl................369 Measuring result screens ......................370 Hardware/software..........................373 Hardware prerequisites for HMI sl .................... 373 Software prerequisites for HMI sl....................374 Function check for HMI sl......................

  • Page 13: Basics

    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 14

    General 1.1 Basics 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 15: General Prerequisites

    ● Machine data have been adapted. Existence of measuring cycles, data blocks References: Commissioning Manual SINUMERIK 840D sl base software and HMI sl Starting position ● The reference points have been approached. ● The starting position can be reached by linear interpolation without collision.

  • Page 16: Behavior On Block Search, Dry Run, Program Testing, Simulation

    General 1.3 Behavior on block search, dry run, program testing, simulation Behavior on block search, dry run, program testing, simulation Function The measuring cycles are skipped during execution if one of the following execution modes is active: • "Trial run" ($P_DRYRUN=1) •...

  • Page 17: Reference Points On The Machine And Workpiece

    General 1.4 Reference points on the machine and workpiece 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. e.g.: It may be easier to ascertain the tool length in the machine coordinate system. Workpiece dimensions are measured in the workpiece coordinate system.

  • Page 18

    General 1.4 Reference points on the machine and workpiece SINUMERIK controls use numerous frames: various basic frames, system frames, settable frames (e.g. G54), programmable frames: They interact in a frame chain to produce the overall frame and the workpiece coordinate system. Measuring cycles do not support any frames with an active scale factor.

  • Page 19: Definition Of The Planes, Tool Types

    General 1.5 Definition of the planes, tool types Definition of the planes, tool types The G17, G18 or G19 tool radius correction planes can be selected. Depending on the tool type, the tool lengths are assigned to the axes as follows: ●...

  • Page 20

    General 1.5 Definition of the planes, tool types Example of plane definition for milling 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) Measuring cycles...

  • Page 21

    General 1.5 Definition of the planes, tool types G17 and G19 are used for milling on a turning machine. If there is no machine axis Y, milling can be implemented with the following kinematic transformations. ● TRANSMIT ● TRACYL In principle, measuring cycles support kinematic transformations. This is stated more clearly in the individual cycles, measuring variants.

  • Page 22: 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 23

    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 24: 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 25: 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 26

    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. Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 27: Measuring Workpieces At The Turning Machines

    General 1.7 Probe, calibration body, calibration tool 1.7.3 Measuring workpieces at the turning machines Workpiece probe On turning machines, the workpiece probes are treated as tool type 5xy with permissible cutting edge positions (SL) 5 to 8 and must be entered in the tool memory accordingly. Lengths specified for turning tools always refer to the tool tip, except in the case of workpiece probes on turning machines where they refer to the probe center.

  • Page 28

    General 1.7 Probe, calibration body, calibration tool Workpiece probe SL 5 or SL 6 Entry in tool memory Tool type (DP1): Cutting edge position (DP2): 5 or 6 Length 1 - geometry: Length 2 - geometry: Radius (DP6): Length 1 - basic measurement only if required (DP21): Length 2 - basic measurement...

  • Page 29: Measuring Tools At Lathes

    General 1.7 Probe, calibration body, calibration tool It is also possible to calibrate on a known surface. Use the same measuring velocity for calibrating and measuring. A cycle with different measuring versions is provided for calibration. 1.7.4 Measuring tools at lathes Tool probe The tool probes have dedicated data fields _TP[ ] and _TPW[ ] in data block GUD6.DEF.

  • Page 30

    General 1.7 Probe, calibration body, calibration tool Calibration, gauging block 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.

  • Page 31: 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 32

    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 33

    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 34

    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...

  • Page 35

    General 1.8 Measurement principle 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. In this time a path is traversed that falsifies the measured value. This influence can be minimized by reducing the measuring speed.

  • Page 36: Measuring Strategy For Measuring Workpieces With Tool Offset

    General 1.9 Measuring strategy for measuring workpieces with tool offset Measuring strategy for measuring workpieces with tool offset The actual workpiece dimensions must be measured exactly and compared with the setpoint values to be able to determine and compensate the actual dimensional deviations on the workpiece.

  • Page 37

    General 1.9 Measuring strategy for measuring workpieces with tool offset Computational characteristic of the mean value with different weightings k ● 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 38

    General 1.9 Measuring strategy for measuring workpieces with tool offset Table 1- 2 Example of mean value calculation and offset Lower limit = 40 µm (_TZL = 0.04) k = 3 k = 2 [µm] [µm] [µm] Measurement 23,3 32,5 Measurement 35,5 46,2 ③...

  • Page 39: 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 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 40

    General 1.10 Parameters for checking the measurement result and offset Dimensional difference check _TDIF _TDIF is active only for workpiece measurement with automatic tool offset and for tool measurement. This limit has no effect on generation of the compensation value either. When it is reached, the tool is probably worn and needs to be replaced.

  • Page 41

    General 1.10 Parameters for checking the measurement result and offset Weighting factor for mean value calculation _k _K is active only workpiece measurement with automatic tool offset. The weighting factor can be used to give a different weighting for each measurement. A new measurement result thus has only a limited effect on the new tool offset as a function of _K.

  • Page 42

    General 1.10 Parameters for checking the measurement result and offset ● For tool measurement ● For workpiece measurement with zero offset ● For workpiece probe calibration Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 43

    General 1.10 Parameters for checking the measurement result and offset ● For tool probe calibration Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 44: 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 The following flowchart shows the effect of empirical value, mean value, and tolerance parameters on workpiece measurement with automatic tool offset. Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 45: 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 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 46: 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 Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 47: Workpiece Measurement At One Point

    General 1.12 Overview of measuring cycle functions for milling technology 1.12.3 Workpiece measurement at one point CYCLE978 permits measurement at one point of a surface. The measuring point is approached paraxially in the active workpiece coordinate system. Depending on the measuring variant, the result may influence the selected tool offset or zero offset.

  • Page 48: Measuring The Workpiece Parallel To The Axis

    General 1.12 Overview of measuring cycle functions for milling technology 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. They are executed by cycle CYCLE977. Workpiece measurement: Measure hole Result: ●...

  • Page 49

    General 1.12 Overview of measuring cycle functions for milling technology Workpiece measurement: Measuring a groove Result: ● Actual dimension, deviation: Groove width, groove center ● Deviation: Tool offset of the zero offset Workpiece measurement: Measuring a web Result: ● Actual dimension, deviation: Web width, web center ●...

  • Page 50: Measuring A Workpiece At An Angle

    General 1.12 Overview of measuring cycle functions for milling technology Workpiece measurement: Outside rectangle Result: ● Actual dimension: Rectangle length and width, rectangle center ● Deviation: Rectangle length and width, rectangle center ● Deviation: Tool offset of the zero offset 1.12.5 Measuring a workpiece at an angle The following measuring variants are provided for the measurement of a hole, shaft, groove,...

  • Page 51: Measuring A Surface At An Angle

    General 1.12 Overview of measuring cycle functions for milling technology Two-point measurement at an angle Result: ● Actual dimension, deviation: Groove, web width, groove, web center ● Deviation: Zero point offset 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.

  • Page 52

    General 1.12 Overview of measuring cycle functions for milling technology Workpiece measurement: Angle measurement Result: ● Actual dimension: Angle ● Deviation: Zero point offset Workpiece measurement: Two-angle measurement Result: ● Actual dimension: 2 angle ● Deviation: Zero point offset Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 53: 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 54: 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 55: 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 Measuring tools at lathes Cycle CYCLE982 is used to calibrate a tool probe and measure turning, drilling, and milling tools on turning machines. Calibrating tool probes Result: Probe switching point with reference to machine or workpiece zero...

  • Page 56

    General 1.13 Overview of measuring cycle functions for turning technology Measuring tool Result: ● Tool length: length 1, length 2 ● Milling cutter radius: R - for milling tools Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 57

    General 1.13 Overview of measuring cycle functions for turning technology 1.13.2 Calibrating workpiece probes CYCLE973 permits calibration of a probe on a surface of the workpiece or in a calibration groove. Example: Calibrate probe with cutting edge position 7, in X axis in both directions in a calibration groove.

  • Page 58: 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 59: 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 60

    General 1.13 Overview of measuring cycle functions for turning technology Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 61: Parameter Concept Of The Measuring Cycles

    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 62

    Parameter description 2.1 Parameter concept of the measuring cycles Data display The data in the operating area "Parameters" can be displayed by means of "User data", "Global user data", "GUD…" or "Channel-specific user data", "GUD…".. As an alternative, parameters that are not assigned values in the program or in the measuring cycles support can be assigned values directly by experts.

  • Page 63: Parameter Overview

    Parameter description 2.2 Parameter overview Parameter overview 2.2.1 Defining parameters General The defining parameters of the measuring cycles can be classified as follows: ● Mandatory parameters ● Auxiliary parameters Mandatory parameters Mandatory parameters are parameters that have to be adapted to the measuring task at hand (for example, setpoint axis, measuring axis, etc,) before each measuring cycle call.

  • Page 64

    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 65: Result Parameters

    Parameter description 2.2 Parameter overview Variable In addition to defining parameters for calculation or character string input, there are also BOOLEAN type variables. These bits can be used to vary planned cycle sequences or enable or disable certain settings. These cycle bits are arrays of variables and of two types: ●...

  • Page 66

    Parameter description 2.2 Parameter overview Example: Transfer of parameter _OVR[21] (compensation value, angle at 1st axis of level) of measuring cycle CYCLE998 (Measure angle), e.g., to swivel cycle Cycle800. In accordance with MD $MN_INT_INCR_PER_DEG, the calculation resolution = 1000. _OVR[21]=-0.000345 IF ((ABS(_OVR[21] * $MN_INT_INCR_PER_DEG)) <...

  • 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 Example of _KNUM=12003: D3 is correct, calculated as a radius offset, inverted (sign inverted). 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. ●...

  • Page 71

    Parameter description 2.3 Description of the most important defining parameters Start up The following must be set during installation (default setting): ● MD 28082: MM_SYSTEM_FRAME_MASK, – Bit 5=1 (system frame for cycles) – and bit 0=1 (system frame for scratching), recommended ●...

  • 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 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). Relevant data: _TNUM=7 _KNUM=0100002 _CHBIT[6]=0 Example 2: (without _TENV)

  • 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 Parameters 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 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 Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 83: Package Structure Of The Measuring Cycles

    Measuring cycle help programs Package structure of the measuring cycles Note References For additional information, please refer to the following documentation: HMI sl / SINUMERIK 840D sl Commissioning Manual Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 84: Measuring Cycle Subroutines

    Measuring cycle help programs 3.2 Measuring cycle subroutines Measuring cycle subroutines 3.2.1 Overview General The measuring cycle subroutines are called directly by the cycles. They cannot be executed if called directly by the user. Programming Cycle Function Note CYCLE102 Measuring result display CYCLE109 Internal subroutine: Data transfer...

  • Page 85: Cycle116: Calculation Of Center Point And Radius Of A Circle

    Measuring cycle help programs 3.2 Measuring cycle subroutines 3.2.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 86

    Measuring cycle help programs 3.2 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 87: Measuring Cycle User Programs

    Note As of measuring cycle version V2.6, the user cycles CYCLE198 and CYCLE199 are combined in the cycle CUST_MEACYC. References: HMI sl / SINUMERIK 840D sl Commissioning Manual 3.3.2 CUST_MEACYC: User program before/after measurements are performed Function CYCLE198 is called at the beginning of each measuring cycle.

  • Page 88

    Measuring cycle help programs 3.3 Measuring cycle user programs Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 89: Measuring In Jog

    Measuring in JOG General When measuring, a distinction is made between workpiece measurement and tool measurement. These measurements may be undertaken ● automatically ● semi-automatically Workpiece measurements Workpiece measurements may include: ● Calibrating the workpiece probe. ● Measuring the contour elements on a workpiece (edge, corner, hole, spigot, rectangle) and then aligning the workpiece by determining and setting a zero offset.

  • Page 90

    Measuring in JOG Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 91

    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 92: 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 CYCLE102 Measurement result display selection CYCLE109 Internal subroutine: Data transfer CYCLE110 Internal subroutine: Plausibility checks CYCLE111 Internal subroutine: Measuring functions CYCLE112 Internal subroutine: Measuring functions CYCLE114 Internal subroutine (tool offset)

  • Page 93: 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 94

    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: Parameters Data type Result _OVR [8] REAL Trigger point in minus direction, actual value of 1st geometry axis _OVR [10]...

  • Page 95: 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 96: 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 97: 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 98

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Structure of user arrays _MT_EC_R m = 0 m = 1 m = 2 m = 3 m = 4 _MT_EC_L [n,m] n = 0 1. Radius 2.

  • Page 99: 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 100

    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 101: 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 102: Programming Example 2

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills N80 SUPA X70 Z100 ;Retract probe in X axis and Z axis, rapid traverse 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...

  • Page 103

    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 104: 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 105

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills The axis in which the offset is applied (offset axis) is also specified in _MA (_MA=103 or MA=203). If no offset axis is specified (_MA=3), the offset is applied in the abscissa, if necessary, (for G17: X axis).

  • Page 106: 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 107: Programming Example

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills See also Variable measuring velocity: _VMS (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Probe type, probe number: _PRNUM (Page 79) Multiple measurement at the same location: _NMSP (Page 81) 5.2.4.2 Programming example...

  • Page 108

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Explanation of example The tool probe is calibrated from the starting position in the –Z, +X, -X, +Y, -Y and again -Z axes. The values are entered in the _TP field and _OVR field if the results (values of the differences) are within the limits: >_TZL, <_TSA.

  • Page 109

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Calibration is performed in this sequence: • applicate, +abscissa, –abscissa, +ordinate, –ordinate; then finally again in • applicate, but now in the located center. For G17, for example, these are the axes: – Z, +X, –X, +Y, –Y, –Z.

  • Page 110: Measuring Tool

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Position after end of measuring cycle On successful completion of the calibration process, the calibration tool is positioned distance _FA above the center of the probe. 5.2.5 Measuring tool 5.2.5.1...

  • Page 111

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Special features of measurement with rotating spindle ● An additional compensation can be activated with variable _MT_COMP>0. (See Measuring and compensation strategy chapter). ● By default, the cycle-internal calculation of feed and speed is executed from the limit values defined in array _CM[] for peripheral speed, rotation speed, minimum feed, maximum feed and measuring accuracy, as well as the intended direction of spindle rotation for measurement.

  • Page 112

    Measuring Cycles for Milling and Machining Centers 5.2 CYCLE971 tool: Measuring milling tools, drills Monitoring for measuring with rotating spindle and cycle-internal calculation Parameter Type Meaning _CM[0] REAL Maximum permissible peripheral speed [m/min]/[feet/min] Default setting: 100 m/min _CM[1] REAL Maximum permissible speed for measuring with rotating spindle [rpm] (speed is automatically reduced if this is exceeded) Default setting: 1000 RPM _CM[2]...

  • Page 113

    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 Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 114

    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 115: 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 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Probe type, probe number: _PRNUM (Page 79) Empirical value, mean value: _EVNUM (Page 80) Multiple measurement at the same location: _NMSP (Page 81) 5.2.5.2...

  • Page 116

    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 117

    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 118

    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 119: 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 120

    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 121

    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 122

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe Parameter Data type Result _OVR [13] REAL Trigger point in minus direction, difference, ordinate _OVR [15] REAL Trigger point in plus direction, difference, ordinate _OVR [17] REAL Trigger point in minus direction, difference, applicate _OVR [19] REAL Trigger point in plus direction, difference, applicate...

  • Page 123: 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 124

    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 125

    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 126

    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 127: 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 128

    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 129

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe 5.3.3.2 Programming example Calibrating a workpiece probe in the X-Y plane, unknown hole center point Workpiece probe 2, used as tool T10, D1, is to be recalibrated in a hole with D=110.246 mm and not precisely known center point (CP) in axes X and Y in both axis directions with G17 and paraxially (to redetermine trigger values _WP[i,1] to _WP[i,4].

  • Page 130

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe Explanation of example The hole center is determined twice, the spindle with the probe being rotated through 180° between each measurement if a multi probe is used, in order to record any positional deviation (skew) of the measuring probe.

  • Page 131: Calibration Of A Workpiece Probe On A Surface

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe 2 measuring runs, one with spindle reversal The cycle performs two measurement operations to determine the positional deviance of the probe and the center point of the hole. 1.

  • Page 132

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe Prerequisite The probe must be called as a tool with a tool length offset. Tool type, preferably: 710 When using the cycle on a turning machine: set type 5xy and _CBIT[14]=0. Parameter Parameter Data type...

  • Page 133

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe The workpiece probe is to be inserted as tool T9 with offset D1. 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.

  • Page 134

    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 135

    Measuring Cycles for Milling and Machining Centers 5.3 CYCLE976 calibrate workpiece probe NOTICE If you want to position with the tool in the program, the approximate probe length should be known and entered in the tool offset memory. Otherwise, position the probe with JOG in front of the calibration surface.

  • Page 136

    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 137

    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 138: 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 139

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes CYCLE977 can ● measure the contour elements and additionally either ● perform an automatic tool offset for a specified tool based on the differences in diameter or width, or ●...

  • Page 140

    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): Parameters Data type...

  • Page 141

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Parameters Data type Result _OVR [0] REAL Setpoint value rectangle length (in the abscissa) _OVR [1] REAL Setpoint value rectangle length (in the ordinate) _OVR [2] REAL Setpoint for rectangle center point, abscissa _OVR [3]...

  • Page 142: 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 143

    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 144

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes If required, _MVAR=1xxx can take account of a safety zone (_SZA, _SZO) in the travel movement. The safety zone refers to the center point or center line of the hole, shaft, groove, web, and rectangle. The starting point in the height is always above the hole, shaft, groove, web, or rectangle.

  • Page 145

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes The following additional parameters are also valid: _VMS, _CORA, _TSA, _FA_, PRNUM, _EVNUM, and _NMSP. The following also applies for measuring variants with tool compensation (even when KNUM=0): _TZL, _TMV, _TUL, _TLL, _TDIF With _TSA, the diameter or width is monitored for "tool compensation", the center for "ZO...

  • Page 146

    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 147

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Explanation of example The measuring results of web width, web center in X, and associated differences are entered in result array _OVR[ ]. If the difference in the position of the web center is >1.2 mm (_TSA=1.2) an alarm is output.

  • Page 148

    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 149

    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 150

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes 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 151: 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 = x0xxmeasurement variants, a hole, shaft, groove, a web, or a rectangle can be measured paraxially. Automatic tool offset is also possible.

  • Page 152

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes Parameters Data type Meaning _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) _KNUM 0, >0 0: without automatic tool offset...

  • Page 153

    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 154

    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 155: 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 156

    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 157

    Measuring Cycles for Milling and Machining Centers 5.4 CYCLE977 workpiece: Measure hole/shaft/groove/web/rectangle parallel to axes See also Offset number: _KNUM (Page 69) Variable measuring velocity: _VMS (Page 76) Offset angle position: _CORA (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Probe type, probe number: _PRNUM (Page 79) Multiple measurement at the same location: _NMSP (Page 81)

  • Page 158

    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 159

    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 160: 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 161

    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 Measurement variants...

  • Page 162: Measuring The Surface

    Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis Parameters Data type Result REAL Mean value _OVR [31] _OVI [0] INTEGER D number or ZO number _OVI [2] INTEGER Measuring cycle number INTEGER Weighting factor _OVI [4]...

  • Page 163

    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 164

    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 165

    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 76) Offset angle position: _CORA (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Probe type, probe number: _PRNUM (Page 79) Empirical value, mean value: _EVNUM (Page 80)

  • Page 166

    Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis 5.5.3.2 Programming example ZO calculation at a workpiece with CYCLE978 A rectangular workpiece is clamped in the G17 plane. The ZO in axes X and Y is to be checked.

  • Page 167

    Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis %_N_ZO_DETERMINING_1_MPF N10 G54 G17 G90 T9 D1 ;ZO, select tool as probe ... N20 M6 ;Insert probe, ;activate tool offset N30 G0 G90 X-20 Y25 ;Position probe in X/Y plane in front of ;measuring surface N40 Z10...

  • Page 168

    Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis 5.5.4 Measuring and tool offset 5.5.4.1 General information Function Using this measuring cycle and the _MVAR=0, _MVAR=1000measurement variants, the measurement (position) of a paraxial surface can be determined in the workpiece coordinate system.

  • Page 169

    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 76) Offset angle position: _CORA (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Probe type, probe number: _PRNUM (Page 79) Empirical value, mean value: _EVNUM (Page 80)

  • Page 170

    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 following is entered under T9, D1 in the tool offset memory: Tool type (DP1): Length 1 - geometry (DP3): L1 = 50.000...

  • Page 171

    Measuring Cycles for Milling and Machining Centers 5.5 CYCLE978 workpiece: Measuring a surface parallel to the axis Explanation of example The difference calculated from the actual and setpoint value (position of surface) is compensated for by the empirical value in the empirical value memory _EV[19] and compared with the tolerance parameter.

  • Page 172: 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 173

    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 measurementcan be used. Parameters for this selection are only set in this cycle, in the 4th digit of _PRNUM: _PRNUM=0zxy ⇒...

  • Page 174

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle Result parameters Depending on the measuring variant, measuring cycle CYCLE979 makes the following values available as results in data block GUD5: Parameter Data type Result _OVR [0] REAL Setpoint diameter/width hole, shaft, groove, web...

  • Page 175: 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 176

    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 177

    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 178

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle In all measuring variants the probe must be positioned at the required measuring height in the applicate (tool axis) close to the first measuring point P1. It must be possible to approach the first measuring point P1 via intermediate point P1' from this position without collision using linear interpolation.

  • Page 179

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle Procedure for groove The probe is in the groove and approaches both measuring points one after the other in the selected measuring height along an oblique straight line as defined by angle _STA1 and which travels through CPA, CPO.

  • Page 180

    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 181

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle Empirical values and mean values An empirical value stored in data block GUD5 in array _EV[ ] can be incorporated in the result calculation after measurement is completed. Optionally, averaging is performed over a number of parts (array _MV[ ]) and the tolerance bands are checked.

  • Page 182

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle See also Variable measuring velocity: _VMS (Page 76) Offset angle position: _CORA (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Probe type, probe number: _PRNUM (Page 79) Empirical value, mean value: _EVNUM (Page 80)

  • Page 183

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle Workpiece probe 1, used as tool T9, D1, is to be used. 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 184

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle ● If 0.03 mm is exceeded (_TUL/_TLL), the radius in T20 D1 is compensated 100% by this difference/2. Alarm "oversize" or "undersize" is displayed and the program continues. ●...

  • Page 185

    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 186

    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 187

    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 188

    Measuring Cycles for Milling and Machining Centers 5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angle %_N_OFFSET_GROOVE_MPF N10 G55 G17 G90 T9 D1 ;ZO, select tool as probe ... N20 M6 ;Insert probe, ;activate tool offset N30 G0 X150 Y130 ;Position probe in X/Y plane ;in setpoint center N40 Z40 ;Position probe at measuring height...

  • Page 189: Cycle998 Workpiece: Angle Measurement And Zo Determination

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination CYCLE998 workpiece: Angle measurement and ZO determination 5.7.1 Function overview Function This measuring cycle enables you to determine the angular position of surfaces of a workpiece.

  • Page 190

    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 191

    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 192

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination Result parameters Measuring cycle CYCLE998 makes the following values available as results in the GUD5 data block: Parameter Data type Result _OVR [0] REAL Setpoint angle or setpoint angle between workpiece area and 1st axis of the plane (abscissa) of the active WCS1) REAL...

  • Page 193: Angle Measurement

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination 5.7.2 1-angle measurement 5.7.2.1 General information Function Using this measuring cycle and the _MVAR=x0x105 measuring variants, it is possible to determine the angular position of a surface in the plane of the workpiece coordinate system.

  • Page 194

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination Parameter for 1-angle measurement Parameter Data type Meaning _MVAR Angle measurement and ZO determination, positioning at an angle from measuring point to measuring point 1105 Angle measurement with differential measurement and ZO determination, positioning at an angle from measuring point to measuring point...

  • Page 195

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination See also Variable measuring velocity: _VMS (Page 76) Offset angle position: _CORA (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Probe type, probe number: _PRNUM (Page 79) Empirical value, mean value: _EVNUM (Page 80)

  • Page 196

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination %_N_ANGLEMEAS_MPF N10 G54 G17 G90 T9 D1 ;Select T No. probe N20 M6 ;Insert probe as tool, ;activate offset N30 G0 C0 ;Position rotary table at 0° N40 X-20 Y-40 ;Position probe in X/Y plane opposite ;measuring point...

  • Page 197

    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 198

    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 199

    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 200

    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 201

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination Special procedure for differential measurement The measuring point P1 is measured twice during differential measurement: 1. With spindle rotated through 180 degrees compared with the position at the beginning of the cycle (rotation of the probe by 180 degrees).

  • Page 202

    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 203

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination See also Variable measuring velocity: _VMS (Page 76) Offset angle position: _CORA (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Empirical value, mean value: _EVNUM (Page 80) Multiple measurement at the same location: _NMSP (Page 81)

  • Page 204

    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 205

    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 206

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination N530 G1 F500 X20 Y25 ;Approach of the 1st MP for ;2 angle measurement in the plane N540 Z40 ;Positioning height in Z, in which all 3 MPs ;can be approached N550 _VMS=0 _PRNUM=1 _TSA=20 _EVNUM=0 Measuring velocity 300 mm/min, data field 1...

  • Page 207

    Measuring Cycles for Milling and Machining Centers 5.7 CYCLE998 workpiece: Angle measurement and ZO determination N710 CYCLE978 ;ZO determination on surface with meas. ;in +Y' direction and ZO in G57 for ;setting the zero in Y' N720 G57 ;Activate the changed ZO G57 N730 X-20 Y-20 N740 Y25 ;Place in front of the left edge...

  • Page 208

    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 209: 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 210

    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 211

    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 212: 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 213

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner The measuring points are derived from the specified angle and distances. Measurement is performed paraxially to the existing workpiece coordinate system (WCS). Note When setting up the internal corner, the cycle only traverses in the plane at measuring height.

  • Page 214

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner Parameter Data type Meaning _SETV[4] REAL Selection of offset: Values: 1: Measured corner entered as zero point 2: Measured corner is entered as zero point in abscissa offset by _SETV[2] 3: Measured corner is entered as zero point in both axes offset by _SETV[2] (abscissa) and _SETV[3] (ordinate) .

  • Page 215

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner 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 determined.

  • Page 216

    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 217

    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 218: 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 219

    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 220

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner 5.8.3.2 Programming example Determination of coordinates of the corner of a workpiece with subsequent ZO offset The coordinates of the corner of a workpiece are to be determined by outside measurement. ZO G55 must be corrected in such a way that the corner point is workpiece zero when G55 is selected.

  • Page 221

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner %_N_CORNER_SETUP_1_MPF N10 G54 G17 G90 T9 D1 ;Select ZO, plane, probe, … N20 G0 Z100 ;Position probe at positioning height N30 X100 Y70 ;Position probe in X/Y plane above ;workpiece N50 _MVAR=118 _SETV[0]=50 _SETV[1]=20 ;Measuring variant for external corner...

  • Page 222

    Measuring Cycles for Milling and Machining Centers 5.8 CYCLE961 workpiece: Setup inside and outside corner Total measuring path: 2 · _FA in mm is reached. Otherwise, no measurement will be performed. A minimum total measurement path of 2 · 20 mm is produced within a cycle. Position before measuring cycle call The probe is above the workpiece at positioning height.

  • Page 223: 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 224

    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 225

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination 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 226

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Parameter Data type Result _OVR [10] REAL Difference center point coordinate ordinate 1st sphere _OVR [11] REAL Difference center point coordinate applicate 1st sphere _OVR [12] REAL Actual value sphere diameter 2nd sphere...

  • Page 227

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Parameter Data type Meaning REAL Velocity for intermediate paths on circular path (G2 or G3) (for _MVAR=xx11x9, – "Measuring at an angle" only) _KNUM 0, >0 0: without automatic ZO compensation >0: with automatic ZO compensation...

  • Page 228

    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 229

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Selecting the measuring variant With variant "Measure at angle" (_MVAR=0x1109) fast calculation of the sphere position is possible if the sphere diameter is known (low number of measuring points and few intermediate positioning actions) "Paraxial measurement"...

  • Page 230

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination Settings in _CHBIT[21]: You can set whether a ZO compensation should be FINE or COARSE in the translation component. ● _CHBIT[21]=0: Offset is additive in FINE (if FINE is available as set in the MD, otherwise in COARSE). ●...

  • Page 231

    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 232

    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 233: Programming Example Cycle997

    Measuring Cycles for Milling and Machining Centers 5.9 CYCLE997 workpiece: Measuring a sphere and ZO determination The measuring points are approached at distance _FA from the sphere lateral surface (setpoint sphere diameter). Measuring point P1 is approached first. After joint positioning of abscissa and ordinate, the applicate is lowered to the height of the center point setpoint of the applicate and the 1st measurement is taken radially in the direction center point setpont abscissa/ordinate.

  • Page 234

    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 235: 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 236

    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 237

    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 238: Cycle996 Workpiece: Measure Kinematics

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics 5.10 CYCLE996 workpiece: Measure kinematics 5.10.1 General Function Note The "Measure kinematics" function is an option and is available from measuring cycles SW 7.5 onwards! With the "Measure kinematics" function, it is possible to calculate the geometric vectors used to define the 5-axis transformation (TRAORI and TCARR) by measuring the position of the ball in space.

  • Page 239: Measurement Procedure

    5.10 CYCLE996 workpiece: Measure kinematics Requirements The following requirements must be met in order to use CYCLE996 (Measure kinematics): ● SIEMENS measuring cycles package is installed ● Workpiece probe is calibrated ● Calibration ball is mounted ● Oriented tool carrier is initialized (MD 18088: MM_NUM_TOOL_CARRIER > 0) ●...

  • Page 240

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics Mounting the calibration ball In the case of machinery, the calibration ball is to be installed on the machine table. In order to measure swivel data records for swivel-mounted workholders, the ball must be incorporated into the appropriate workholder.

  • Page 241

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics Defining the rotary axis positions Three measuring positions (ball position) must be defined for each rotary axis. Please note that the positions of the ball in space (resulting from the three defined rotary axis positions) should lead to as large a triangle as possible being clamped.

  • Page 242: Measuring An Individual Ball Position

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics Note If the machine does not proceed as expected when the calibration ball is being scanned, the basic orientation and travel direction of the rotary axes should be checked (has DIN conformity been maintained when defining the axes?) 5.10.2.3 Measuring an individual ball position...

  • Page 243: Example Of The Procedure To Measure The Kinematics (cycle996)

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics 5.10.3 Example of the procedure to measure the kinematics (CYCLE996) By way of illustration, the BC table kinematics measurement process (both rotary axes move the workpiece) is described below: ●...

  • Page 244: Activation Of The Function

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics 5.10.4 Activation of the function The screen form for CYCLE996 ("Measure kinematics") is activated via the global GUD6 variable _MZ_MASK[8] = 1 as follows: ⇒ ⇒ ⇒ 5.10.5 Measuring kinematics Starting from the kinematics initial state, the relevant rotary axes are measured individually.

  • Page 245: Programming Via A Screen Form

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics 5.10.6 Programming via a screen form 5.10.6.1 General Call "Measure kinematics" function - CYCLE996 Enter "Program" operating area in the part program editor Press the following softkeys: ⇒ ⇒...

  • Page 246

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics The probe must be able to reach the ball equator of the calibration ball. The 1st measurement must take place in the kinematics initial state. If a rotary axis rotates parallel to the spindle without offset in a head kinematics (fork head), the 1st measurement can be made with spring-loaded probe.

  • Page 247

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics Start position The starting position of the probe must be approached by the user or from the user program (see example program). The probe must be prepositioned in the direction of the tool orientation (ORI) above the highest point of the calibration ball (probe aligned with ball center point).

  • Page 248: Parameters Of "1st, 2nd, 3rd Measurement" Screen Form

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics 5.10.6.2 Parameters of "1st, 2nd, 3rd measurement" screen form Screen form Name (Name/number of the swivel data record) Select the swivel data records set in MD 18088: MM_NUM_TOOL_CARRIER The basic kinematics data can be entered with VSK1 "Swivel data".

  • Page 249

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics Measurement path (Measurement path factor) Parameter: _FA _FA should be selected to be greater than the mechanical clearance (A) when pre- positioning the probe. Range (Safe area) Parameter: _TSA Probe number (Number of probe field) Parameter: _PRNUM Measuring feedrate (Measuring feedrate)

  • Page 250: Parameters Of "calculate Kinematics" Screen Form

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics 5.10.6.3 Parameters of "Calculate kinematics" screen form Pressing VSK6, "Calculate kinematics" displays the following screen form: Name (Name/number of the swivel data record) Select the swivel data records set in MD 18088: MM_NUM_TOOL_CARRIER Parameter: _TNUM Measuring result Selection:...

  • Page 251

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics Result bit Selection: ● No (no result bit) ● Yes (result bit of calculated vectors) ● Yes, can be edited (result bit and offset of calculated vectors) – Only when manufacturer password and measuring result selection are "entered". –...

  • Page 252

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics Tolerance lin (Tolerance value of offset vectors I1 to I4) The tolerance parameters should enable the user to make a "good" or "bad" assessment when the kinematics are measured. The prerequisite for this is that kinematics vectors have already been correctly entered.

  • Page 253: Result Bit

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics 5.10.6.4 Result bit If the "Calculate kinematics" selection is active, a result bit can be selected in the screen form for CYCLE996 as follows: ● No: After calculating/measuring, the results are not displayed. ●...

  • Page 254

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics Basic kinematics data The functionality of CYCLE996 requires the NCK function "Tool carrier with orientation capability (TCARR)" (see also Programming Manual Cycles CYCLE800). The number of tool carriers with orientation capability must be entered in machine data MD 18088: MM_NUM_TOOL_CARRIER.

  • Page 255

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics Measurement variants Measuring cycle CYCLE996 permits the following measurement variants, which are specified via parameter _MVAR. ● "1st, 2nd, 3rd measurement" _MVAR ● "Calculate kinematics" _MVAR Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 256: Result Parameters, Intermediate Results

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics 5.10.7.2 Result parameters, intermediate results Result parameters When "Measure kinematics" is selected and both rotary axes (_OVR[40] = 33) are measured, the CYCLE996 measuring cycle makes the following values available as results in data block GUD5: Parameter Data type...

  • Page 257

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics Head kinematics I1 $TC_CARR1...3[n] _OVR[1]..._OVR[3] Corresponds I2 $TC_CARR4...6[n] _OVR[4]..._OVR[6] I3 $TC_CARR15...17[n] _OVR[15]..._OVR[17] _OVR[18]..._OVR[20] = 0 Closure of the I1 = -(I3+I2) vector chain; for fixed-mounted machine kinematics Table kinematics I2 $TC_CARR4...6[n] _OVR[4]..._OVR[6] Corresponds...

  • Page 258: Programmable Adjustable Parameters

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics Parameters Data type Result _OVR[41,42,43] REAL 1. Measurement of 1st rotary axis _OVR[44,45,46] REAL 2. Measurement of 1st rotary axis _OVR[47,48,49] REAL 3. Measurement of 1st rotary axis _OVR[51,52,53] REAL 1.

  • Page 259

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics _TNVL Limit angle, distortion of triangle when calculating kinematics [degrees]. Parameter _TNVL is used to monitor the distortion of the measurement triangle. Suitable values for parameter _TNVL are 20 to 45 degrees. If the distortion of the triangle is outside of parameter _TNVL, error 61430 "Calculation of the kinematics vectors not performed ->...

  • Page 260

    Measuring Cycles for Milling and Machining Centers 5.10 CYCLE996 workpiece: Measure kinematics ;--------------------- 2. measurement of rotary axis 1 G0 Z100 BB=_P2[3] CC=_P2[4] X=_P2[0] Y=_P2[1] Z=_P2[2] _MVAR=10092 _TNUM=1 _SETVAL=25.000 _FA=3.000 _TSA=6.000 _VMS=500.000 _PRNUM=1 _SETV[3]=0.000 _SETV[4]=0.000 CYCLE996 ;--------------------- 3. measurement of rotary axis 1 G0 Z100 BB=_P3[3] CC=_P3[4] X=_P3[0]...

  • Page 261: 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. Note As of HMI sl software version 2.6 The GUD parameters are stored in the machine or setting data.

  • Page 262: Call And Return Conditions

    Measuring Cycles for Turning Machines 6.1 General prerequisites See also Comparison of GUD parameters up to measuring cycles version 7.5 and GUD parameters as of measuring cycles version 2.6, with reference to measuring function. (Page 413) GUD variables that can no longer be used (Page 418) Changes to names of cycle programs and GUD modules (Page 420) 6.1.4 Call and return conditions...

  • Page 263: Cycle982 Tool: Measure Turning Tools

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools CYCLE982 Tool: Measure turning tools 6.2.1 Function overview Function The CYCLE982 cycles each 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 264

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools Result parameters The CYCLE982 measuring cycles return the following values in the data block GUD5 for the measurement variant calibration: Parameter Data type Result _OVR [8] REAL Trigger point in minus direction, actual value, abscissa _OVR[10] REAL Trigger point in plus direction, actual value, abscissa...

  • Page 265: Calibrate Tool Probe (machine-related)

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools 6.2.2 Calibrate tool probe (machine-related) 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 266

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools 1. Calibrate with calibration tool The calibration tool is shaped (bent) in such a way that the probe can be calibrated on all 4 sides with it. Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 267

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools 2. Calibrate with turning tool When a turning tool is used for calibration, the probe can only be calibrated on 2 sides (see figure below). Requirement The lateral surfaces of the probe cube must be aligned parallel to the machine axes Z1, X1 (abscissa and ordinate).

  • Page 268

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools See also Defining parameters (Page 63) Result parameters (Page 65) Variable measuring velocity: _VMS (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Multiple measurement at the same location: _NMSP (Page 81) Sequence Position before measuring cycle call...

  • Page 269

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools 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): Length 1 - geometry (DP3).

  • Page 270: Determining Dimensions Of Calibration

    Measuring Cycles for Turning Machines 6.2 CYCLE982 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 271: Measure Turning Tool (machine-related)

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools 6.2.4 Measure turning tool (machine-related) 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...

  • Page 272

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools Parameter Parameter Value 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 63) Result parameters (Page 65) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78)

  • Page 273

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools Position after measuring-cycle call On completion of the cycle, the tool nose is positioned facing the measuring surface and _FA from it. 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.

  • Page 274

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools The lengths for the tool to be measured T3, D1 are known, remeasurement in wear: Tool type (DP1): Cutting edge length (DP2): Length 1 - geometry (DP3): L1 = 100.654 Length 2 - geometry (DP4): L2 = 60.321 Radius (DP6):...

  • Page 275

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools N230 _CHBIT[3]=1 ;Offset in wear (remeasuring) N240 CYCLE982 ;Tool measurement in minus X direction (L1) N250 G0 SUPA Z240 ;New starting position N260 _MA=1 ;Set other measuring axis (Z) N270 CYCLE982 ;Tool measurement in minus Z direction (L2)

  • Page 276

    Measuring Cycles for Turning Machines 6.2 CYCLE982 Tool: Measure turning tools Recommended parameters The following parameters are recommended so that this programming example runs reliably: ● Calibration: _TZL=0.001 zero offset area _TSA=1 safe area _FA=1 measurement path ● First-time measurement of a tool: _TZL=0.001 zero offset area _TDIF=3 dimension difference check _TSA=3 safe area...

  • Page 277: 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 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 278

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools ● Calibrate in increments as preparation for incremental measurement The switching positions of the probe are not known. The calibration tool must have been positioned in front of the probe manually (in JOG mode) before the cycle is called.

  • Page 279

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools ● Automatic measurement All values that can be determined are determined automatically according to the active tool type. The geometry of the tool to be measured is roughly known and entered in the tool offset.

  • Page 280

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 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. Measurement is possible with a rotating (M3, M4) or with a stationary milling spindle (M5).

  • Page 281

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variants Measuring cycle CYCLE982 permits the following measuring variants which are specified via parameter _MVAR. Digit Meaning Calibrating tool probes With calibration tool ; with turning tool 1 Measure turning and milling tool/drill, Measurement axis in _MA (is specified for Turning tools: Cutting edge position 1...8,...

  • Page 282

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Digit Meaning Significance for measuring milling tools only, also automatically: Axial position of milling tool/drill (radius in ordinate, for G18: X axis, SD 42950: value = 2) Radial position of milling tool/drill (radius in abscissa, for G18: Z axis, SD 42950: value = 2) Measurement and calibration...

  • Page 283

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Parameter Data type Result _OVR [8] REAL Actual value length L1 _OVR [9] REAL Difference length L1 _OVR [10] REAL Actual value length L2 _OVR [11] REAL Difference length L2 _OVR [12] REAL...

  • Page 284

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.2 Calibrating tool probes 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 285

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools See also Defining parameters (Page 63) Result parameters (Page 65) Variable measuring velocity: _VMS (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Multiple measurement at the same location: _NMSP (Page 81) Programming example...

  • Page 286

    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 287

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.3 Measuring tool 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 288

    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 289

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 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 290

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools If _CHBIT[20]=1, selected measuring variants are possible for a milling cutter without taking the starting angle _STA1 into account (see Subsection "Milling cutter: Suppression of start angle positioning _STA1"). Note Measurement with rotating spindle If selection of a certain miller cutting edge is not possible, it is possible to measure with a...

  • Page 291

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Examples of measuring variants Measuring variant Specified Offset applied in Milling tools, drills geometry Example: L1=... Axial position, L2=... R=0, Measuring without reversal, calculate length only _MVAR=1 _MA=1 Example: L1=...

  • Page 292

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied in Milling tools, drills geometry Example: L1=... Radial position, L2=... R ≠ 0, R=... Measuring without reversal, calculate length only _MVAR=10001 _MA=2 Example: L1=...

  • Page 293

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied in Milling tools, drills geometry Example: L1=... Radial position, L2=... R ≠ 0, R=... L2=(P1 + P2)/2 Measuring without reversal, ABS(P1-P2)/2 calculate length and radius, 2 measuring points necessary...

  • Page 294

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied in Milling tools, drills geometry Example: L1=... Radial position, L2=... R ≠ 0, R=... L2=(P1 + P2)/2 Measurement with reversal at each ABS(P1-P2)/2 measuring point, calculate length and...

  • Page 295

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 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. Measurements will be without reversal. The cutting edge to be measured is in the milling spindle position 15 degrees.

  • Page 296: Automatic Tool Measurement

    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 297

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools The calculated offsets are entered in the active D number of the active tool. The offset strategy is defined via _CHBIT[3] as for measurement. The measuring cycle generates the approach blocks to the probe and the transverse motions to measure length 1, length 2 and for the milling cutter, the radius too.

  • Page 298

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 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 299

    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 300

    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 301

    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 R= ABS(P3x-...

  • Page 302

    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=... L1=(P3x + Measuring without reversal, P4x)/2 4 measurements L2=(P1z + necessary P2z)/2 _MVAR=14002...

  • Page 303: Incremental Calibration

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.5 Incremental calibration 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. The values entered in the array of the probe are not evaluated.

  • Page 304

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Parameter Parameter Value Description _MVAR 100000 Calibrate tool probe incrementally (machine-related) with calibration tool 10100000 Calibrate tool probe incrementally (machine-related) with turning tool Calibrate tool probe incrementally (workpiece-related) with calibration 100010 tool Calibrate tool probe incrementally (workpiece-related) with turning...

  • Page 305

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Sequence Position before measuring cycle call The calibration tool must be prepositioned as shown in the figure: The "tip" of the calibration tool in the measuring axis _MA within distance 2 · _FA in front of the measuring surface.

  • Page 306

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Comments A special tool is used as the calibration tool and is entered as a turning tool (5xy) with cutting edge. Calibration is possible with cutting edge positions SL1, SL2, SL3 or SL4. It is usually shaped (bent) such that it is also possible to approach point P4 for calibration (_MA=1, _MD=0).

  • Page 307: Incremental Measurement

    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 308

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Requirements For incremental measurement, the tool probe must be calibrated in the measuring axis and direction in which measuring will be performed. The tool T to be measured must be called with tool offset (D number). The tool type is entered in the offset data.

  • Page 309

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 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 310

    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 311

    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 312

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Measuring variant Specified Offset applied Milling tools, drills geometry Example 6: L1=... Radial position, L2=... Milling cutter, R ≠ 0, R=... measuring with reversal, calculation of the length in Z _MVAR=110101 _MA=1...

  • Page 313

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 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 314: Milling Tool: Suppression Of Start Angle Positioning _sta1

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.7 Milling tool: Suppression of start angle positioning _STA1 Function To apply the angular position of the milling spindle (cutting edge of the miller contacting the probe) unchanged in the cycle and thus suppress the starting angle positioning with the value in _STA1, you can set _CHBIT[20]=1 .

  • Page 315: Measuring Drills - Special Applications

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools 6.3.8 Measuring drills - Special applications Prerequisite The tool probe has been calibrated with G18 active as is usual for turning tools. Function If drills are used on lathes with a length correction (offset) as for milling machines (SD 42950: TOOL_LENGTH_TYPE=0), then a drill can also be measured (gauged) in this...

  • Page 316: Measuring A Tool With Orientational Tool Carriers - 90° Multiples Of Tool Position (measuring Cycle Release Sw 6.3 And Higher)

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools ● G17 or G19 are active and ● A measuring variant is set: – _MVAR=1: Measuring (relative to the machine) – _MVAR=11: Measuring (relative to the workpiece) –...

  • Page 317: Measuring Turning Tools - 90° Multiples Of The Tool Position

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools The measuring cycle parameters for the individual measuring variants are set in the same way as when the tool carrier is in its basic position. Sequence Before CYCLE 982 is called, the tool must be aligned in the same way as it will eventually be measured.

  • Page 318

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Programming example Measuring the turning tool automatically (machine-related, measuring cycle release SW 7.3 and higher) Approximate values for the lengths and Basic position of the tool carrier: radius of tool T1 are known and entered in Turning tool Cutting edge position 3 offset field D1.

  • Page 319: Measuring Milling/drilling Tools - 90° Multiples Of The Tool Position

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools %_N_AUTO_DREH_MPF ;$PATH=/_N_WKS_DIR/_N_WZ_MESSEN_WPD N10 G0 G18 G40 G90 G94 DIAMOF N20 _CHBIT[3]=0 ;Offset in the geometry N30 T1 D1 ;Selection of the tool to be measured N40 SUPA Z285 X450 ;Starting position for alignment N50 CYCLE800(0,"TURN",200,57,0,0,0,0,90,0,0,0,0,1,0) ;Tool alignment N60 SUPA Z120 X450...

  • Page 320

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools Programming example Measure milling tool (workpiece-related) The lengths and radius of tool T10 to be Basic position of the tool carrier: measured are known and entered in offset Milling tool in radial position field D1.

  • Page 321

    Measuring Cycles for Turning Machines 6.3 CYCLE982 tool: Measure turning and milling tools %_N_MESSEN_FW_MPF ;$PATH=/_N_WKS_DIR/_N_WZ_MESSEN_WPD N10 G0 G54 G18 G40 G90 G94 DIAMOF N20 _CHBIT[3]=1 ;Offset in wear N30 T10 D1 ;Selection of the tool to be measured N40 Z200 X200 ;Starting position for alignment N50 CYCLE800(0,"TURN",300,57,0,0,0,0,- ;Align tool...

  • Page 322: 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 323

    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 324

    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: Parameters 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 325: 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 326

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes The workpiece probe calibrated is selected with _PRNUM. The associated array _WP[ ] in data block GUD6.DEF is _WP[_PRNUM-1,...] (for a detailed description of the array, refer to Chapter "Data description", "Central values"). The reference groove is selected with _CALNUM.

  • Page 327

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes See also Defining parameters (Page 63) Result parameters (Page 65) Variable measuring velocity: _VMS (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Multiple measurement at the same location: _NMSP (Page 81) 6.4.2.2 Programming example...

  • Page 328

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes %_N_CALIBRATE_IN_GROOVE_MPF N10 T8 D1 ;Tool offset of the probe N20 G0 SUPA G90 DIAMOF Z125 X95 ;Position in front of cycle call ;(start position), ;position without ZO N30 _TZL=0 _TSA=1 _VMS=0 _NMSP=1 _FA=3 _PRNUM=1 ;Set parameters for calibration, N31 _MVAR=13 _MA=1 _MD=1 _CALNUM=1 ;minus Z-direction...

  • Page 329

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes The position of the surfaces is defined in workpiece coordinates in _SETVAL. The workpiece probe calibrated is selected with _PRNUM. The associated array _WP[ ] in data block GUD6.DEF is _WP[_PRNUM-1,...]. Prerequisite The surface must be parallel to an axis of the workpiece coordinate system and have low surface roughness.

  • Page 330

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes See also Defining parameters (Page 63) Result parameters (Page 65) Variable measuring velocity: _VMS (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Multiple measurement at the same location: _NMSP (Page 81) 6.4.3.2 Programming example...

  • Page 331

    Measuring Cycles for Turning Machines 6.4 CYCLE973 Calibrating workpiece probes Explanation of example The surface with position Z=-18 is approached in the Z axis in the minus direction (_SETVAL=-18, _MA=1, _MD=1). Actual calibration starts _FA=3 mm in front of the surface. The workpiece probe is then calibrated and ends up facing the surface again at distance _FA from it.

  • Page 332: 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 333

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement Programming CYCLE974 Note Tolerance parameters _TSA, _TDIF, _TZL, _TMV, _TLL and _TUL must be entered taking into account machine data • MD 20360 TOOL_PARAMETER_DEF_MASK bit0 and bit1 in conjunction with the offset target •...

  • Page 334

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement Result parameters Depending on the measuring variant, measuring cycle CYCLE974 returns the following result values in the GUD5 block: Parameters Data type Result _OVR [0] REAL Setpoint value for measuring axis _OVR [1] REAL Setpoint in abscissa →...

  • Page 335: Point Measurement And Zo Determination

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement Starting positions for various measuring tasks The starting positions before cycle call depend on the measuring task, the value of the setpoint _SETVAL, the measuring axes, and the cutting edge position (SL) of the workpiece probe.

  • Page 336

    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 ZO determination _SETVAL REAL Setpoint, with reference to the workpiece zero...

  • Page 337

    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 338

    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 339

    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 Parameters Data type Meaning _MVAR 1-point measurement and tool offset _SETVAL REAL Setpoint (according to drawing)

  • Page 340

    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 341

    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 342

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement Measurement of inside diameter and offset T8 Procedure as described for "Measurement output diameter". Offset of T8 with appropriate modified values _EV[13], _MV[13] (EVNUM=14), _TUL, _TLL, _SETVAL. Note The values of the workpiece tolerance parameters _TUL, _TLL were selected asymmetrically in the example.

  • Page 343: Point Measurement With Reversal And Tool Offset

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement 6.5.4 1-point measurement with reversal and tool offset 6.5.4.1 General information Function With this measuring cycle and the _MVAR=1000 measuring variant, the workpiece actual value is ascertained with reference to the workpiece zero in the measuring axis by acquiring two opposite points on the diameter.

  • Page 344

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement See also Defining parameters (Page 63) Result parameters (Page 65) Variable measuring velocity: _VMS (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Probe type, probe number: _PRNUM (Page 79) Empirical value, mean value: _EVNUM (Page 80) Multiple measurement at the same location: _NMSP (Page 81)

  • Page 345

    Measuring Cycles for Turning Machines 6.5 CYCLE974 workpiece: 1-point measurement Tool type (DP1): Cutting edge position (DP2): Length 1 - geometry (DP3): L1 = 40.123 Length 2 - geometry (DP4): L2 = 100.456 Radius - geometry (DP6): 3.000 %_N_REVERSALMEAS_MPF N10 G54 G90 G18 T9 D1 DIAMON ;Call ZO, tool = probe N20 G0 Z30 X90 ;Preposition probe...

  • Page 346: 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 offsetis 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 347

    Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement Programming CYCLE994 Note Tolerance parameters _TSA, _TDIF, _TZL, _TMV, _TLL and _TUL must be entered taking into account machine data • MD 20360 TOOL_PARAMETER_DEF_MASK bit0 and bit1 in conjunction with the offset target •...

  • Page 348

    Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement Tool offset An offset can be applied for the tool that machined the workpiece. This tool is specified in _TNUM and _TNAME. The D number and type of offset are specified in coded form in variable _KNUM.

  • Page 349

    Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement Result parameters The measuring cycle CYCLE994 supplies the following values as results in the GUD5 block: Parameter Data type Result _OVR [0] REAL Setpoint diameter or setpoint as radius dimension (note _MA) _OVR [1] REAL Setpoint for diameter/radius in abscissa →...

  • Page 350

    Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement Parameter Parameter Data type Meaning _MVAR 1 or 2 1: Inside measurement, 2-point measurement with safety zone 2: 2-point measurement, safety zone only for outside measurement _SETVAL REAL Setpoint If measurement is made in the transverse axis and diameter programming (DIAMON) is active, then _SETVAL is a diameter dimension, otherwise a radius dimension around the workpiece zero.

  • Page 351

    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 63) Result parameters (Page 65) Variable measuring velocity: _VMS (Page 76) Tolerance parameters: _TZL, _TMV, _TUL, _TLL, _TDIF and _TSA (Page 77) Measurement path: _FA (Page 78) Probe type, probe number: _PRNUM (Page 79)

  • Page 352

    Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement 6.6.1.2 Programming example Two-point measurement, outside and inside An outside diameter with tool T8, D1 and an inside diameter with tool T9, D1 has been machines on a workpiece. The set diameters have the dimensions shown in the figure. If the absolute value of the difference determined is >0.002 mm, the length (in measuring axis _MA) of the tool is to be automatically offset in the wear.

  • Page 353

    Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement %_N_TWO_POINT_MEAS_MPF N10 T1 D1 DIAMON ;Call tool = probe (MT) N20 G0 G54 Z30 X60 ;ZO selection, ;Position probe facing P1 N25 _CHBIT[4]=1 _CHBIT[7]=0 ;With mean value calc., calibrated MT N30 _TLL=-0.01 _MA=2 _SZA=55 _SZO=55 ;Parameter assignment for 1st cycle _KNUM=1 _K=3 _TZL=0.002 _TMV=0.005...

  • Page 354

    Measuring Cycles for Turning Machines 6.6 CYCLE994 workpiece: 2-point measurement The results are entered in result field _OVR[ ]. The wear of the length L1 (KNUM=1, _MA=2) of T8, D1 is included if a change is necessary. Measurement of inside diameter and offset T9 Procedure as described for "Measurement output diameter".

  • Page 355

    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) Start MEASUREMENT...

  • Page 356: 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 357

    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 358

    Measuring Cycles for Turning Machines 6.7 Complex example for tool measurement Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 359: Log Measurement Results

    Miscellaneous functions Log measurement results Note As of HMI sl software version 2.6 The "Log" function is not available in SINUMERIK HMI sl SW 2.6. Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 360: Measuring Cycle Support In The Program Editor

    Miscellaneous functions 7.2 Measuring cycle support in the program editor Measuring cycle support in the program editor The program editor offers extended measuring cycle support for inserting measuring cycle calls into the program. Prerequisite Hardware TCU or PCU. Function This measuring cycle support provides the following functionality: ●...

  • Page 361: Menus, Explanation Of The Cycles

    Miscellaneous functions 7.2 Measuring cycle support in the program editor 7.2.1 Menus, explanation of the cycles 7.2.1.1 General information Explanation The input screens for the measuring cycles are selected depending on the technology being used via horizontal softkeys. Input screen forms for measuring cycles for turning technology. Input screen forms for measuring cycles for milling technology.

  • Page 362: Softkey Bars For Turning

    Miscellaneous functions 7.2 Measuring cycle support in the program editor 7.2.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 363

    Miscellaneous functions 7.2 Measuring cycle support in the program editor 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. Back to selection menu turning.

  • Page 364

    Miscellaneous functions 7.2 Measuring cycle support in the program editor Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 365: Softkey Bars For Milling

    Miscellaneous functions 7.2 Measuring cycle support in the program editor 7.2.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 366

    Miscellaneous functions 7.2 Measuring cycle support in the program editor 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 367

    Miscellaneous functions 7.2 Measuring cycle support in the program editor Back to selection menu milling. Vertical advancement menu for workpiece measurement milling Call screen form for workpiece measurement for milling machines CYCLE977 rectangle internal/external. Call screen for workpiece measurement for milling machines CYCLE997, measure ball and ZO determination.

  • Page 368

    Miscellaneous functions 7.2 Measuring cycle support in the program editor 7.2.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 N110 T=7 M6 ;Insert probe N120 X50 Y50 ;Position probe in X/Y...

  • Page 369: Presetting Measuring Cycle Support In Hmi Sl

    Miscellaneous functions 7.2 Measuring cycle support in the program editor Input screen for measuring a hole, parallel with the axis, with protection zone (CYCLE977) 7.2.2 Presetting measuring cycle support in HMI sl For descriptions of the default settings for measuring cycle support for HMI as of software version 2.6, see: References: Commissioning Manual SINUMERIK 840d HMI sl base software and HMI sl;...

  • Page 370: Measuring Result Screens

    Miscellaneous functions 7.3 Measuring result screens Measuring result screens Function Measurement result displays will be shown automatically during measuring cycle runtime if _CHBIT[10]=1. If _CHBIT[10]=0 (default setting), the measurement result displays are now shown. Depending on the setting in _CHBIT[11] and _CHBIT[18] ●...

  • Page 371

    Miscellaneous functions 7.3 Measuring result screens ● Positional deviation during calibration in the plane ● Probe number ● Safe area Workpiece measurement ● Measuring cycle and measuring variant ● Setpoints, actual values and their differences ● Tolerance upper and lower limits (for tool offset) ●...

  • Page 372

    Miscellaneous functions 7.3 Measuring result screens Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 373: Hardware/software

    Hardware/software Hardware prerequisites for HMI sl For descriptions of the hardware prerequisites for measuring cycles for HMI as of software version 2.6, see: References: Commissioning Manual SINUMERIK 840d HMI sl base software and HMI sl; Book HMI sl (IM9) Chapter on measuring cycles Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 374: Software Prerequisites For Hmi Sl

    Hardware/software 8.2 Software prerequisites for HMI sl Software prerequisites for HMI sl For descriptions of the software prerequisites for measuring cycles for HMI as of software version 2.6, see: References: Commissioning Manual SINUMERIK 840d HMI sl base software and HMI sl; Book HMI sl (IM9) Chapter on measuring cycles Measuring cycles...

  • Page 375: Function Check For Hmi Sl

    Hardware/software 8.3 Function check for HMI sl Function check for HMI sl For descriptions of the function check for measuring cycles for HMI as of software version 2.6, see: References: Commissioning Manual SINUMERIK 840d HMI sl base software and HMI sl; Book HMI sl (IM9) Chapter on measuring cycles Measuring cycles...

  • Page 376

    Hardware/software 8.3 Function check for HMI sl Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 377: Data Description

    Data description Machine data for machine cycle runs For descriptions of the machine data for the sequence of measuring cycles for HMI as of software version 2.6, see: References: Commissioning Manual SINUMERIK 840d HMI sl base software and HMI sl; Book HMI sl (IM9) Chapter on measuring cycles Note...

  • Page 378: 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 Note As of HMI sl software version 2.6 The GUD parameters are stored in the machine or setting data.

  • Page 379

    Data description 9.2 Cycle data Global data Data type Meaning _TP[3,10] REAL 3 arrays for tool probes, machine-related _WP[3,11] REAL 3 arrays for workpiece probes _KB[3,7] REAL 3 arrays for gauging blocks _TPW[3,10] REAL 3 data arrays for tool probes, machine-related _CM[9]=(100,1000,1, REAL Only active if _CBIT[12]=0...

  • Page 380

    Data description 9.2 Cycle data Global data Data type Meaning _SI[3]=("","6","") STRING[8] Central strings (system information) Internal data item • software version of the control • Internal data item • name of main program the log is from, _PROTNAME[2] STRING[32] •...

  • Page 381

    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 382: Data Adjustment To A Specific Machine

    Data adjustment to a specific machine For adapting the data to a specific machine, see the following: References: Commissioning Manual SINUMERIK 840D sl base software and HMI sl; Book HMI sl (IM9), chapter on measuring cycles Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 383: Central Values

    Data description 9.2 Cycle data 9.2.3 Central values Data block GUD6.DEF _TP[ ] Array for tool probes (machine-related) 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 384

    Data description 9.2 Cycle data ● 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 Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 385

    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 data field (_PRNUM-1) Preset default Assignment for milling _TPW[k,0]...

  • Page 386

    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 data field (_PRNUM-1) Preset default _WP[k,0] active ball diameter of the workpiece probe...

  • Page 387

    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 Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 388

    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: - Unit: - Data type REAL Applies as of SW SW 3.2 Significance: Index "k"...

  • Page 389

    Data description 9.2 Cycle data Overview of reference groove pairs for calibration (for turning only) The representation refers to the working plane defined by G18. SL=8. (radial) SL=7. (ordinate) (axial) _KB[k,5] _KB[k,6] _KB[k,0] _KB[k,1] (abscissa) _KB[k,4] _KB[k,3] _KB[k,2] Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 390

    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: - Unit: - Data type REAL Applies as of SW SW 4.3...

  • Page 391: 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 Significance: Preset default _CBIT[0] Measurement repetition after violation of dimensional difference and safe area...

  • Page 392: Detailed Description

    Data description 9.2 Cycle data _CBIT[ ] Central bits _CBIT[12] Feed and speed in CYCLE971 0: calculation by measuring cycle itself 1: set by user in array _MFS[ ] _CBIT[13] Deletion of values from the measuring cycle arrays in GUD6 0: No deletion 1: delete _TP[ ], _TPW[ ], _WP[ ], _KB[ ], _EV[ ], _MV[ ], _CBIT[13]...

  • Page 393

    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. Tool measurement and calibration in the WCS in CYCLE982 _CBIT[5]=0: The tool is measured and the tool measuring probe is calibrated in the machine...

  • Page 394

    Data description 9.2 Cycle data Selection of log header for logging _CBIT[11]=0: The standard log header is used. _CBIT[11]=1: A user-defined log header is used. Feed and speed in CYCLE971 _CBIT[12]=0: When measuring milling tools with the spindle rotating, the measuring cycle calculates the feed and speed.

  • Page 395: Channel-oriented Values

    Data description 9.2 Cycle data 9.2.5 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 Significance: Index "k" stands for the number of the current array -1 Preset default _EV[k] Number of empirical values...

  • Page 396

    Data description 9.2 Cycle data _ SPEED[ ] Traversing velocities for intermediate positioning Min. input limit: 0 Max. input limit: - Changes valid after value assignment Protection level: - Units: - Data type:REAL Significance: Preset default _SPEED[0] Interim positioning in measuring cycle with rapid traverse 50 % velocity as % during inactive collision monitoring (values between 1 and 100)

  • Page 397

    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 398

    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 Significance: Measurement result offset for tool measurement with rotating spindle Preset default...

  • Page 399: Channel-oriented Bits

    Data description 9.2 Cycle data 9.2.6 Channel-oriented bits 9.2.6.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 Significance: Preset default _CHBIT[0] Measurement input for workpiece measurement 0: measurement input 1...

  • Page 400

    Data description 9.2 Cycle data _CHBIT Channel bits _CHBIT[10] Measuring result display 0: OFF 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]...

  • Page 401

    Data description 9.2 Cycle data _CHBIT Channel bits _CHBIT[21] Only active for CYCLE974, CYCLE977, CYCLE978, CYCLE979, CYCLE997! ZO compensation mode 0: offset additive in FINE 1: offset in COARSE, delete FINE _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...

  • Page 402

    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 403

    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 404

    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 405

    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 406

    Data description 9.2 Cycle data Suppression of the starting angle positioning _STA1 in CYCLE982 _CHBIT[20]=0: For certain measuring variants, the milling spindle is positioned with _STA1. _CHBIT[20]=1: When measuring milling tools, for basic measuring variants, it is possible to suppress positioning of the milling spindle to the value of the starting angle _STA1.

  • Page 407: Data For Measuring In Jog

    Data description 9.3 Data for measuring in JOG Data for measuring in JOG For descriptions of the data for measuring in JOG for the measuring cycle runs for HMI as of software version 2.6, see: References: Commissioning Manual SINUMERIK 840d HMI sl base software and HMI sl; Book HMI sl (IM9) Chapter on measuring cycles Measuring cycles...

  • Page 408

    Data description 9.3 Data for measuring in JOG Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 409: Start-up (hardware)

    Start-up (hardware) For descriptions of the commissioning of measuring cycles for HMI as of software version 2.6, see: References: Commissioning Manual SINUMERIK 840d HMI sl base software and HMI sl; Book HMI sl (IM9) Chapter on measuring cycles Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 410

    Start-up (hardware) Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 411: Alarm, Error, And System Messages

    Alarm, error, and system messages 11.1 General notes 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 412

    Alarm, error, and system messages 11.3 Overview of measuring cycle alarms Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 413: Parameters As Of Measuring Cycles Version 2.6, With Reference To Measuring Function

    Appendix Comparison of GUD parameters up to measuring cycles version 7.5 and GUD parameters as of measuring cycles version 2.6, with reference to measuring function. You can make specific machine and setting data for each item of cycle data, machine data or setting data.

  • Page 414

    Appendix A.1 Comparison of GUD parameters up to measuring cycles version 7.5 and GUD parameters as of measuring cycles version 2.6, with reference to measuring function. GUD up to Version 7.5 MD/SD as of Version 2.6 _KB[x,0] SD54621 $SNS_MEA_CAL_EDGE_PLUS_DIR_AX2[x] _KB[x,1] SD54622 $SNS_MEA_CAL_EDGE_MINUS_DIR_AX2[x] _KB[x,2] SD54615 $SNS_MEA_CAL_EDGE_BASE_AX1[x]...

  • Page 415

    Appendix A.1 Comparison of GUD parameters up to measuring cycles version 7.5 and GUD parameters as of measuring cycles vers GUD up to Version 7.5 MD/SD as of Version 2.6 _CBIT[12] Can be used but is not a new MD/SD! _CBIT[13] No function is assigned to this GUD.

  • Page 416

    Appendix A.1 Comparison of GUD parameters up to measuring cycles version 7.5 and GUD parameters as of measuring cycles version 2.6, with reference to measuring function. GUD up to Version 7.5 MD/SD as of Version 2.6 _TP_CF SD54690 $SNS_MEA_T_PROBE_MANUFACTURER _MT_COMP SD54691 $SNS_MEA_T_PROBE_OFFSET _MT_EC_R[1.5] SD54695 $SNS_MEA_RESULT_OFFSET_TAB_RAD1[0...4]...

  • Page 417

    Appendix A.1 Comparison of GUD parameters up to measuring cycles version 7.5 and GUD parameters as of measuring cycles vers GUD up to Version 7.5 MD/SD as of Version 2.6 _NMSP Can be used but is not a new MD/SD! _PRNUM Can be used but is not a new MD/SD! _EVNUM...

  • Page 418: A.2 Gud Variables That Can No Longer Be Used

    Appendix A.2 GUD variables that can no longer be used GUD variables that can no longer be used The following GUD variables can generally no longer be programmed as of measuring cycles version 2.6! If machine or setting data is assigned to a GUD variable, only this data should be used! GUD up to Version 7.5 MD/SD as of Version 2.6...

  • Page 419

    Appendix A.2 GUD variables that can no longer be used GUD up to Version 7.5 MD/SD as of Version 2.6 E_MESS_MS_IN MD51606 $MNS_MEA_INPUT_PIECE_PROBE[0] E_MESS_MT_IN MD51607 $MNS_MEA_INPUT_TOOL_PROBE[0] E_MESS_D MD51750 $MNS_J_MEA_M_DIST E_MESS_D_M MD51751 $MNS_J_MEA_M_DIST_MANUELL E_MESS_D_L MD51752 $MNS_J_MEA_M_DIST_TOOL_LENGTH E_MESS_D_R MD51753 $MNS_J_MEA_M_DIST_TOOL_RADIUS E_MESS_FM MD51755 $MNS_J_MEA_MEASURING_FEED E_MESS_F MD51757 $MNS_J_MEA_COLL_MONIT_FEED E_MESS_FZ...

  • Page 420: A.3 Changes To Names Of Cycle Programs And Gud Modules

    Appendix A.3 Changes to names of cycle programs and GUD modules Changes to names of cycle programs and GUD modules The following measuring programs have been renamed or deleted from measuring cycle version 2.6: Cycle Name of GUD up to Version Cycle Name as of Version 2.6 CYC_JMC Cycle131...

  • Page 421: A.4 Overview Of Measuring Cycle Parameters

    Appendix A.4 Overview of measuring cycle parameters 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 The measuring cycle data are defined in the data blocks: ●...

  • Page 422

    Appendix A.4 Overview of measuring cycle parameters CYCLE961 Workpiece measurements REAL ---- Retraction in ---- Retraction in Infeed of positioning depth to infeed axis, infeed axis, measuring depth (incremental) incremental incremental for overtravel of for overtravel corner if _ID=0 of corner if travels around _ID=0 travels the corner...

  • Page 423

    Appendix A.4 Overview of measuring cycle parameters CYCLE961 Workpiece measurements _SETV[4] REAL 1: Measured corner ---- ---- Coordinates of point P3 in the active 2: Offset in abscissa workpiece coordinate system 3: Offset in abscissa (abscissa) and ordinate 4: Offset in ordinate _SETV[5] REAL ----...

  • Page 424

    Appendix A.4 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 425

    Appendix A.4 Overview of measuring cycle parameters CYCLE971 Tool measurement of milling tools on milling machines _MVAR Measuring variant >0 Calibration in measurement axis acc. to Measure of length of radius previous with motionless spindle positioning on center of measurement cube Measurement with rotating spindle;...

  • Page 426

    Appendix A.4 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 427

    Appendix A.4 Overview of measuring cycle parameters CYCLE973 Workpiece measurements _STA1 REAL ---- ---- _SZA REAL ---- ---- _SZO REAL ---- ---- _TDIF REAL ---- ---- _TMV REAL ---- ---- _TNAME STRING ---- ---- [32] _TNUM ---- ---- _TUL REAL ---- ---- _TLL...

  • Page 428

    Appendix A.4 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 429

    Appendix A.4 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 430

    Appendix A.4 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 431

    Appendix A.4 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 432

    Appendix A.4 Overview of measuring cycle parameters CYCLE977 Workpiece measurements _KNUM without/with automatic offset of without / with automatic tool offset >=0 the ZO memory (D number) 0 without offset 0 without tool offset Normal Flat D number structure D number structure 1...99 automatic correction in ZO G54...G57 G505...G599...

  • Page 433

    Appendix A.4 Overview of measuring cycle parameters CYCLE977 Workpiece measurements _SZO REAL Protection zone in ordinate (only for _MVAR=1xxx) _TDIF REAL Dimension difference check ---- ---- ---- ---- _TMV REAL Offset range with mean value calculation ---- ---- ---- ---- _TNAME STRING[ ] Tool name...

  • Page 434

    Appendix A.4 Overview of measuring cycle parameters CYCLE978 Workpiece measurements _KNUM without/with automatic offset of without / with automatic tool offset (D number) the ZO memory 0 without tool offset 0 without offset Normal D number structure Flat D number structure 1...99 automatic correction in ZO G54...G57...

  • Page 435

    Appendix A.4 Overview of measuring cycle parameters CYCLE978 Workpiece measurements _TMV REAL Offset range with mean value calculation ---- only active if GUD6:_CHBIT[4]=1 _TNAME STRING Tool name ---- (alternative for "_TNUM" if tool management active) _TENV STRING Name of tool surroundings for automatic tool ---- offset _TNUM...

  • Page 436

    Appendix A.4 Overview of measuring cycle parameters CYCLE979 Workpiece measurements _KNUM without/with automatic offset of the ZO without / with automatic tool offset >=0 memory (D number) 0 without offset 0 without tool offset Normal Flat D number structure D number structure 1...99 automatic correction in ZO G54...G57 G505...G599...

  • Page 437

    Appendix A.4 Overview of measuring cycle parameters CYCLE979 Workpiece measurements _SZA REAL ---- ---- ---- ---- ---- ---- ---- ---- _SZO REAL ---- ---- ---- ---- ---- ---- ---- ---- _TDIF REAL Dimension difference check ---- ---- ---- ---- _TMV REAL Offset range with mean value calculation ----...

  • Page 438

    Appendix A.4 Overview of measuring cycle parameters CYCLE982 Workpiece measurements _MVAR INT >0 Measuring variant xxxx01 xxxx11 xxxx02 xxxx12 _NMSP INT >0 Number of measurements at the same location _PRNUM INT >0 Tool probe number (number of the data field assigned to the workpiece probe GUD6: _TPW [_PRNUM-1,i]...

  • Page 439

    Appendix A.4 Overview of measuring cycle parameters CYCLE982 Workpiece measurements _TZL REAL Zero offset area _VMS REAL, ≥0 Variable measuring velocity (for _VMS=0: 150 mm/min (if _FA=1); 300 mm/min (if _FA>1)) CYCLE996 Workpiece measurements Parameter Type Possible measurements GUD5 G17: X-Y plane G18: Z-X plane G19: Y-Z plane 1st, 2nd, 3rd measurements...

  • Page 440

    Appendix A.4 Overview of measuring cycle parameters CYCLE996 Workpiece measurements _SETV[7] REAL ---- Tolerance value of offset vectors I1...I4 _SETV[8] REAL ---- Tolerance value of rotary axis vectors V1, V2 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...

  • Page 441

    Appendix A.4 Overview of measuring cycle parameters CYCLE997 Workpiece measurements _MVAR Measuring variant >0 x0xxxx x1xxxx _NMSP Number of measurements at the same location >0 _PRNUM Workpiece probe number (for multi probe only) >0 Values: 1 to maximum 99 (number of the data field assigned to the workpiece probe GUD6:_WP[_PRNUM–1] REAL Velocity for intermediate paths on circular path (G2 or G3)

  • Page 442

    Appendix A.4 Overview of measuring cycle parameters CYCLE998 Workpiece measurements REAL Distance between measuring points P1 and Distance between measuring points P1 and P2 in P2 in offset axis abscissa _INCA REAL ---- Setpoint or angle in ordinate ---- _KNUM without/with automatic offset of the ZO memory 0 without offset 1...99...

  • Page 443

    Appendix A.4 Overview of measuring cycle parameters CYCLE998 Workpiece measurements _TMV REAL ---- _TNAME STRING ---- _TNUM ---- _TUL REAL ---- _TLL REAL ---- _TSA REAL Safe area angle _TZL REAL ---- _VMS REAL Variable measuring velocity >=0 (for _VMS=0: 150 mm/min (if _FA=1); 300 mm/min (if _FA>1)) Result parameters calibration CYCLE: GUD5...

  • Page 444

    Appendix A.4 Overview of measuring cycle parameters Result parameters calibration CYCLE: GUD5 Data type Meaning _OVR [24] REAL Angle at which the trigger points were determined ---- ---- ---- _OVR [25] REAL ---- ---- ---- ---- _OVR [26] REAL ---- ---- ---- ----...

  • Page 445

    Appendix A.4 Overview of measuring cycle parameters Result parameters measurement (turning machines) GUD5 Data type Meaning CYCLE974 CYCLE994 CYCLE982 _OVR[15] REAL ---- ---- ---- _OVR[16] REAL Difference Measuring Diameter/radius ---- axis _OVR[17] REAL Difference Abscissa Abscissa ---- _OVR[18] REAL Difference Ordinate Ordinate ----...

  • Page 446

    Appendix A.4 Overview of measuring cycle parameters Result parameters measurement (milling and machining centers) GUD5 Type Meaning CYCLE961 CYCLE997 CYCLE998 1 angle 2 angle _OVR [2] REAL Setpoint ---- Center point coordinates ---- ---- for ordinate 1st sphere _OVR [3] REAL Setpoint ----...

  • Page 447

    Appendix A.4 Overview of measuring cycle parameters Result parameters measurement (milling and machining centers) GUD5 Type Meaning CYCLE961 CYCLE997 CYCLE998 1 angle 2 angle _OVR [22] REAL Actual value Corner point in Center point coordinates ---- ordinate (MCS) for ordinate 3rd sphere ---- Compensation value ----...

  • Page 448

    Appendix A.4 Overview of measuring cycle parameters Result parameters measurement (milling and machining centers) GUD5 Type Meaning CYCLE977 CYCLE978 CYCLE979 _MVAR=xxx1 _MVAR=xxx5 _MVAR=xxx6 _MVAR=xxx4 _OVR [0] REAL Setpoint Hole ---- Measuring Hole axis Shaft ---- Shaft ---- Groove Groove ---- Setpoint rectangle length ---- Abscissa...

  • Page 449

    Appendix A.4 Overview of measuring cycle parameters Result parameters measurement (milling and machining centers) CYCLE977 CYCLE978 CYCLE979 _OVR [12] REAL Lower tolerance limit ---- Measuring Hole Hole diameter/width axis ---- Shaft Shaft ---- Groove Groove ---- Lower tolerance limit ---- Abscissa ---- ----...

  • Page 450

    Appendix A.4 Overview of measuring cycle parameters Result parameters measurement (milling and machining centers) CYCLE977 CYCLE978 CYCLE979 Probe number _OVI [5] Mean value memory _OVI [6] number Empirical value memory _OVI [7] Tool number _OVI [8] Alarm number _OVI [9] Status offset request _OVI [11] (for ZO compensation only)

  • Page 451

    Appendix A.4 Overview of measuring cycle parameters Result parameters measurement (milling and machining centers, CYCLE996) GUD5 Type Meaning _OVI [5] ---- _OVI [6] ---- _OVI [7] ---- _OVI [8] Number of swivel data record (_TNUM) _OVI [9] Alarm number NC machine data Identifier Description Max.

  • Page 452

    Appendix A.4 Overview of measuring cycle parameters NC machine data for measuring in JOG 11602 ASUP_START_MASK Ignore stop conditions for ASUB 1, 3 Bit0=1 11604 ASUP_START_PRIO_LEVEL Priority for "ASUP_START_MASK From 1 to effective" 20110 RESET_MODE_MASK Define control default setting after 07FFFH min.

  • Page 453

    Appendix A.4 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 Assignment for milling GUD6 _TPW[k,0] Trigger point in minus direction X (1st geometry axis) GUD6 _TPW[k,1] Trigger point in plus direction X (1st geometry axis)

  • Page 454

    Appendix A.4 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 455

    Appendix A.4 Overview of measuring cycle parameters Central bits Block Identifier Description As-delivered value GUD6 _CBIT[2] M0 for tolerance alarms "oversize", "undersize", "permissible dimensional difference exceeded" 0: no generation of M0 for the above alarms 1: generation of M0 for the above alarms GUD6 _CBIT[3] currently not assigned...

  • Page 456

    Appendix A.4 Overview of measuring cycle parameters Channel-oriented values Block Identifier Description As-delivered value _EVMVNUM Number of empirical values and mean values GUD6 _EVMVNUM[0] Number of empirical values GUD6 _EVMVNUM[1] Number of mean values _SPEED Traversing velocities for intermediate positioning GUD6 _SPEED[0] Max.

  • Page 457

    Appendix A.4 Overview of measuring cycle parameters Channel-specific values (for measuring in JOG, GUD7_MC) Block Identifier Description As-delivered value GUD7 E_MESS_MIN_F Min. feed for measuring with rotating spindle for the 1st probing [mm/min] GUD7 E_MESS_MIN_F_FAK1 On tool measurement with rotating spindle, traversal with 10 times measuring feed is performed in the 1st probing (limitation by E_MESS_MAX_F) [mm/min] GUD7...

  • Page 458

    Appendix A.4 Overview of measuring cycle parameters Channel-oriented bits Block Identifier Description As-delivered value _CHBIT Channel bits GUD6 _CHBIT[0] Measurement input for workpiece measurement 0: measurement input 1 1: measurement input 2 GUD6 _CHBIT[1] Measurement input for tool measurement: 0: measurement input 1 1: measurement input 2 GUD6 _CHBIT[2]...

  • Page 459

    Appendix A.4 Overview of measuring cycle parameters Channel-oriented bits Block Identifier Description As-delivered value _CHBIT Channel bits 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 _CHBIT[12] currently not assigned...

  • Page 460

    Appendix A.4 Overview of measuring cycle parameters Channel-oriented bits Block Identifier Description As-delivered value _CHBIT Channel bits 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 461: 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 462

    List of abbreviations Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 463

    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 464

    Parameter Name Meaning in English Meaning in German 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 Starting angle Start angle _SZA Safety zone on workpiece abscissa Protection zone in abscissa _SZO...

  • Page 465

    This document will be continuously improved with regard to its quality and ease of use. Please help us with this task by sending your comments and suggestions for improvement via e-mail or fax to: E-mail: mailto:docu.motioncontrol@siemens.com Fax: +49 9131 - 98 2176 Please use the fax form on the back of this page.

  • Page 466

    Alarm, error, and system messages Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 467: E Overview

    Overview Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 468

    Alarm, error, and system messages Measuring cycles Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0...

  • Page 469: 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 470

    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 471

    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 472

    Glossary Mono probe A mono(directional) probe is a probe that can only deflect in one direction. It can only be used for workpiece measurement on milling machines and machining centers with slight limitations. 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.

  • Page 473

    Glossary Probes are therefore classified in three groups according to the number of directions in which they can be deflected. ● Multidirectional ● Bidirectional ● Monodirectional (mono probe) 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.

  • Page 474

    Glossary Tool number The parameter _TNUM contains the tool number of the tool to be automatically offset after workpiece measurement. Trigger point The trigger points of the probe are ascertained during calibration and stored in block GUD6 for the axis direction. Variable measuring speed The measuring velocity can be freely selected by means of _VMS.

  • Page 475: Index

    Index CYCLE994, 346 CYCLE996, 238 CYCLE997, 223 CYCLE998, 189 1-point measurement, 168, 332, 335, 338 1-point measurement with reversal, 343 Data block for the measuring cycles, 378 Determining dimensions of calibration, 270 2-point measurement, 346 Dimension difference check, 40 Dimensional deviations, 36 Automatic tool measurement, 296 Auxiliary parameters, 64 Effect of empirical value, mean value, and tolerance...

  • Page 476

    Index Function, 89 Tool measurement for milling tools, 93 Measuring strategy, 36, 95 Tool measurements, 14 Measuring tool, 110, 287 Tool name, 68 Measuring turning tools, 263 Tool number, 68 Measuring variant, 67 Measuring velocity, 33, 76 Mono probe, 22 Monodirectional probe, 22 User Program after the end of the measurement, 87...

Comments to this Manuals

Symbols: 0
Latest comments: