Page 1
SINUMERIK 840/840C SINUMERIK 850 SINUMERIK 880/880 GA2 Measuring Cycles Version 20 and higher User's Guide 08.96 Edition User Documentation...
Page 2
SINUMERIK 840/840C SINUMERIK 850 SINUMERIK 880/880 GA2 Measuring Cycles Version 20 and higher User's Guide User Documentation Valid for: Control Software Version SINUMERIK 840 from SW 01 SINUMERIK 840C from SW 01 SINUMERIK 850 from SW 04 SINUMERIK 880 from SW 04...
Page 4
This User's Guide is valid for: SINUMERIK 850/880 as from Software Version 4, SINUMERIK 880 GA2 as from Software Version 1, SINUMERIK 840 as from Software Version 1, SINUMERIK 840C as from Software Version 1, Measuring Cycles as from Version 20!
Page 5
Measuring Cycle Auxiliary Programs Measuring Cycles for Turning Machines Measuring Cycles for Milling Machines and Machining Centres Measuring Cycles for Turning and Milling Work Measuring in JOG Mode (SINUMERIK 880/880 GA2) Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) Alarms Lists Abbreviations...
Logging via logging module ....... . 1–27 1.9.2 Logging via CP315 with the SINUMERIK 840/880 ....1–28 1.9.2.1...
Page 7
R12 Number of calibrating elements ......2–4 R13 Compensating angle position for mono-directional probe, angular offset for driven tools ....... 2–4 R22 Probe type/probe number .
Page 8
L973 Calibrating the workpiece probe ......4–20 4.2.1 L973 Calibrating on any surface ......4–21 L974 Workpiece measurement .
Page 9
Operating and function sequence ......7–9 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 8–1 General .
1 Introduction 08.96 1.9.2 Logging via CP315 with the SINUMERIK 840/880 1.9.2 Logging via CP315 with the SINUMERIK 840/880 Measurement results determined by workpiece measuring cycles can be logged with the CP315 and the subfunction FB package ”Logging of measurement results”. To do this, they are transferred to the PLC using the cycle L988.
10.91 1 Introduction 1.9.2 Logging via CP315 with the SINUMERIK 840/880 1.9.2.2 Configuring the form The form for the protocol is configured in a part program that can be edited both at work scheduling and during manufacture. The part program for configuring the form has the following structure:...
Page 39
1 Introduction 10.91 1.9.2 Logging via CP315 with the SINUMERIK 840/880 • Part 2 In Part 2, the fixed texts and variables of the log header are described as well as the locations of date, time of day and page number.
Page 40
10.91 1 Introduction 1.9.2 Logging via CP315 with the SINUMERIK 840/880 – Definition of time of day Option Code: (@Z * ZZ * SS * )LF Format: Default= 14:30:21 (8 digits) 2:30:21 pm (11 digits) Column No. Line No./assignment to basic or supplementary line...
Page 41
1 Introduction 10.91 1.9.2 Logging via CP315 with the SINUMERIK 840/880 – Specification of location of tolerance violation Option Code: (@O * SS * X )LF ASCII representation of tolerance violation identifier. Presetting: ” ” Column No. Identifier for tolerance violation –...
10.91 1 Introduction 1.9.2 Logging via CP315 with the SINUMERIK 840/880 1.9.2.3 Data transmission between NC and PLC Data transmission, general The following data must be transmitted from the NC to the PLC: • Part program for form The part program is transmitted to the PLC using the ”File transfer with PLC initiation”...
Page 43
1 Introduction 10.91 1.9.2 Logging via CP315 with the SINUMERIK 840/880 • Initiation for transmission for header data (external call of L988) MPF <Workp. progr.> L988 R39=xxxxx1xx R40=------------ Transfer R39 Channel No. R45=------------ transferred L988 Channel No.=<No.> Initiate transmission Coordination •...
1.9.2.4 Description of transfer parameters When using Siemens measuring cycles, the R parameters R38 to R45 are used as transfer parameters for logging output, protocol header information, measuring point numbers and tolerance violations. The values stored in the R parameters are transferred and not the R parameter numbers.
Page 45
1 Introduction 10.91 1.9.2 Logging via CP315 with the SINUMERIK 840/880 – Description of decimal place 5 R39=xx9xxxxx End of measurement result logging – Description of decimal place 3 R39=xxxx0xxx Measuring point number from the PLC R39=xxxx5xxx Measuring point number from R45 –...
Page 46
The base line contains data of the diameter measured, the 1st supplementary line data of the horizontal axis and the 2nd supplementary line data of the particular axis when Siemens measuring cycles and submeasuring points are used. Further supplementary lines are not needed at present.
Page 47
1 Introduction 10.91 1.9.2 Logging via CP315 with the SINUMERIK 840/880 – Log output, supplementary lines 0 = Do not mark line R38=xxxxxxxx 1 = Mark line 1st Supplementary line 8th Supplementary line R39=111022x can be assigned for logging submeasuring points.
10.91 1 Introduction 1.9.2 Logging via CP315 with the SINUMERIK 840/880 1.9.2.5 Error messages of logging function • Error message of auxiliary cycle L988 ”Check MDC(N7000)”: Is generated, if MDC 7000.1 and MDC 7000.6 are not set when L988 is called.
Page 49
1 Introduction 10.91 1.9.2 Logging via CP315 with the SINUMERIK 840/880 Groove for calibra- N135 ting probe d=10 N105 Measuring point 1 Measuring point 2 Spindle N110 chuck N100 N125 Measuring point 3 200±0,3 N130 150±0,5 Workpiece Measuring point 4 50±0,2...
Page 50
10.91 1 Introduction 1.9.2 Logging via CP315 with the SINUMERIK 840/880 • Suggestion for a solution Prerequisites: configuration of the computer link via CP315, configuration of the FB package subfunctions ”Logging of measurement results” and ”PLC controlled data output” and activation of the logging function via MDC.
Page 52
10.91 1 Introduction 1.9.2 Logging via CP315 with the SINUMERIK 840/880 (Position probe to face MP2) G00 Z70 T1 D31 X175 (Define parameter for measurement) R10=9 R30=1 R40=0.2 R41=-0.2 R42=50 (Define control parameter for transfer of measurement results) R39=11110220 (Measure MP2)
Mode (SINUMERIK 840 SW2) General Automatic workpiece measurement in JOG mode is an extended version of the Siemens "Inprocess Measurement" cycles for SINUMERIK. With the JOG measuring function the distance between machine zero and the reference point (workpiece zero) can be determined and then stored with the softkeys "STORE ZO"...
Page 217
8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 08.96 8.1 General The whole process is carried out in "JOG" mode. Once the measurement variants have been selected and the cycle parameters set, the probe must be positioned, for example, at the centre of the drill hole in "JOG"...
Page 218
08.96 8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 8.1 General Selecting the measuring cycles: Select ”JOG” mode Prog. para. Sett. data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Actual value REPOS offset...
8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 01.93 8.1 General Prog. para. Sett. data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel: Workpiece measurement: RESULTS INPUT ACTUAL VALUE40.123 DRILLING AXIS MULTI. PROBE D NUMBER DIFFERENCE 0.123...
08.96 8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 8.2 Setting the parameters for workpiece measurement and calibration • Measurement repetition Here you enter the number of measurements at a certain measurement point. • Measurement path s Here you enter the multiplication factor for the measurement path 2a, where a = 1 mm. If,...
Page 221
8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 08.96 8.3 Calibrating probe in any hole Once calibration type plane or drilling axis (Version 3.5 and higher) has been selected the only parameter that has to be entered is the setpoint diameter or the floor of the hole. The probe must be positioned in the centre of the hole at the calibrating depth.
08.96 8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 8.4.1 Measuring a hole 8.4.1 Measuring a hole Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Workpiece measurement: Measure hole...
Page 225
8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 08.96 8.4.1 Measuring a hole Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Workpiece measurement: Measure hole POSITION PROBE INTO THE HOLE Measure.
08.96 8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 8.4.1 Measuring a hole (Ordinate) Hole Actual diameter Probe (Set diameter) (Abszisse) act. 8.4.2 Measuring a shaft Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1...
Page 227
8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 08.96 8.4.2 Measuring a shaft The following parameters have to be set: • The infeed along the applicate axis with sign • Set diameter of the shaft. When you press the softkey "MEASURE", a selection display appears requesting you to position the probe above the centre of the shaft.
8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 08.96 8.4.3 Measuring a slot 8.4.3 Measuring a slot Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Workpiece measurement: Measure slot...
Page 230
08.96 8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 8.4.3 Measuring a slot Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Workpiece measurement: Measure slot POSITION PROBE IN SLOT Measure.
08.96 8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 8.4.4 Measuring a web 8.4.4 Measuring a web Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Workpiece measurement: Measure web...
Page 233
8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 08.96 8.4.4 Measuring a web Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Workpiece measurement: Measure web POSITION PROBE ABOVE WEB Measure.
8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 08.96 8.4.5 Measuring a surface 8.4.5 Measuring a surface Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Workpiece measurement: Measure surface...
Page 236
01.93 8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 8.4.5 Measuring a surface Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Workpiece measurement: Measure surface POSITION PROBE OPPOSITE SURFACE Measure.
08.96 8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 8.4.6 Measuring an angle 8.4.6 Measuring an angle Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Workpiece measurement: Measure angle...
Page 239
8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 01.93 8.4.6 Measuring an angle Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Workpiece measurement: Measure angle POSITION PROBE BETWEEN MEASURING POINTS Measure.
8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 08.96 8.4.7 Measuring a reference point on the workpiece 8.4.7 Measuring a reference point on the workpiece Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset...
Page 242
08.96 8 Automatic Workpiece Measurement in JOG Mode (SINUMERIK 840 SW2) 8.4.7 Measuring a reference point on the workpiece Prog. Para. Sett. Data Data I/O Program. Diagnostic User Mode grp.: 1 Program reset Channel : 1 Workpiece measurement: Measure reference point...