Siemens SINUMERIK 840D sl Programming Manual page 69

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

Advertisement

...
M30
Log extract:
MACHINE: ABC_12345
LOGFILE COMPENSATION DATA
VALUE1 = 123.456
VALUE2 = 789.333
Explanations:
● N50 ... Logging is switched on
– Destination: In the same path as the calling program
– The log is appended
– Log type: User log
– Logging "on"
● N52 - N56 log content
● N60 ... CYCLE160 call: Data is now written
● Value 1 and value 2 mirror the contents of the R-parameters R101 and R102 at the time
of the log output.
Standard log with additional user data
Programming example:
---
N50 CYCLE150(10,1001,...)
N51 S_LOGTXT[0]=REP("")
N52 S_LOGTXT[0]="HOLE DM 20H7"
N53 S_LOGTXT[1]="LARGESTDIMENSION:
20.021"
N54
S_LOGTXT[2]="SMALLESTDIMENSION:
20.000"
N55 S_LOGTXT[3]="SPINDLETEMPERATURE:"<<R99<<" DEG"
N60 CYCLE160
T="3D_PROBE_FR" D1 M6
G0 X0 Y0 Z5
N70 CYCLE977(201,,4000001,1,24,,,2,8,0,1,1,,,1," ",,
0,1.01,1.01,-1.01,0.34,1,0,,1,1)
...
M30
Measuring cycles
Programming Manual, 12/2017, 6FC5398-4BP40-6BA1
2.14 Miscellaneous functions
; Logging ON, write header
; Delete old data array
; Write user data
; Write user data to log
Description
69

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents