Siemens SINUMERIK 840D sl Programming Manual page 68

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

Advertisement

Description
2.14 Miscellaneous functions
Figure 2-15
The following must be written in the part program:
● CYCLE160 for the output of the log contents
CYCLE160 has no transfer parameters. The user must program it without a screen form.
Freely-definable user log
Programming example:
...
N50 CYCLE150(10,1111,
"MY_PROT.TXT")
N51 S_USERTXT[0]=REP("")
N52 S_USERTXT[0]="MACHINE:
ABC_12345"
N53 S_USERTXT[1]="LOGFILE COMPENSATION DATA"
N54 S_USERTXT[2]=" "
N55 S_USERTXT[3]="VALUE1 = "<<R101
N56 S_USERTXT[4]="VALUE2 = "<<R102
N60 CYCLE160
68
User log screen form
CYCLE150 call to activate the user log
Assignment of the log contents to the predefined string variables
; Logging ON
; Delete old data array
; Compile log contents
; Programming of empty line: 1 x blank
; Write user log
Programming Manual, 12/2017, 6FC5398-4BP40-6BA1
Measuring cycles

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents