Variables When Logging - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

7.1.4

Variables when logging

Function
With these parameters you can:
• select the content of the log.
• format the log.
• determine the content of the log header.
In the measuring cycle, data logging is controlled via the following data bit:
Variable
_CBIT[6]=
_CBIT[11]=
The following variables (data block GUD6) describe the contents of the measuring log:
Variable
_PROTNAME[2]
_HEADLINE[10]
_PROTFORM[6]
_PROTSYM[2]
_PROTVAL[13]
_TXT[100]
Measuring cycles
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Value
Meaning
0
With measuring cycle name and measuring variant
1
Without measuring cycle name and measuring variant
0
Standard log header
1
User-defined log header
Type
Default
Contents
Value
STRING[32]
Blank
_PROTNAME[0] = Name of the main program from
string
which the log is written
_PROTNAME[1] = Name of the log file
STRING[80]
Blank
_HEADLINE[0] ... _HEADLINE[9]
string
The user can enter customized texts in these STRINGs;
they are included in the log
INTEGER
60
_PROTFORM[0] = Number of lines per page
80
_PROTFORM[1] = Number of characters per line
1
_PROTFORM[2] = First page number
3
_PROTFORM[3] = Number of customized header lines
1
_PROTFORM[4] = Number of value lines in the log
12
_PROTFORM[5] = Number of characters per column
CHAR
" ; "
_PROTSYM[0] = Separators between the values in the
log
" # "
_PROTSYM[1] = Special characters for identification
when tolerance limits are exceeded
STRING[80]
_PROTVAL[0] = Contents of the header line
(line 9)
_PROTVAL[1] = Contents of the header line
(line 10)
_PROTVAL[2]...[5] = Specification of the values to be
logged in successive lines
STRING[12]
Field for formatted STRINGs
Miscellaneous functions
7.1 Log measurement results
7-5

Advertisement

Table of Contents
loading

Table of Contents