Example: Creating A Measurement Result Log - Siemens SINUMERIK 840D sl Programming Manual

Measuring cycles
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

When filling in the standard log header shown above the following program lines must be
inserted in the main program before the measuring cycle is called:
DEF INT PARTNUM, JOBNUM
_CBIT[11]=0
PARTNUM=123456789 JOBNUM=6878 _LOGNAME[0]="MEASPROGRAM_1"
_PROTNAME[1] ="MY_LOG1"
_HEADLINE[0]="Part number: "<<PARTNUM
_HEADLINE[1]="Job number:"<<JOBNUM
_HEADLINE[2]="Supervisor: Müller Phone: 1234"
_PROTVAL[0]="Meas. , Axis , Set , Act. value, Difference , Time"
_PROTVAL[1]="point , , value
7.1.8

Example: Creating a measurement result log

Log view
%N_LOG_1_MPF
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
Line 9
Line 10
Line 11
Line 12
Line 13
Line 14
Line 15
Line 16
Line 17
Line 18
Measuring cycles
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Date:
98/11/15
Program: MEASPROGRAM_1
Part number: 123456789
Job number: 6878
Supervisor: Müller Phone: 1234
--------------------------------------------------------------------------
---------------
Meas.
, Axis
point
--------------------------------------------------------------------------
--------------
CYCLE978
, _MVAR
1
, Z
CYCLE977
, _MVAR
2
, X
, Y
;Log with default header
Time:
, Set
,
,
Actual
Differenc
value
e
value
, 100
,
,
, -0.013
80.000
79.987
, 102
,
,
, 0.009
64.000
64.009
,
,
, -0.002
38.000
37.998
Miscellaneous functions
7.1 Log measurement results
Page: 1
10:05:30
, Time
,
09:35:12
,
09:36:45
7-9

Advertisement

Table of Contents
loading

Table of Contents