Log Format - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Example:
_PROTVAL[2]="R27,_OVR[0],_OVR[4],_OVR[8],_OVR[12],_OVR[16],_TIME"
_PROTVAL[3]="_AXIS,_OVR[1],_OVR[5],_OVR[9],_OVR[13],_OVR[17], INCH"
_PROTVAL[4]="_AXIS,_OVR[2],_OVR[6],_OVR[10],_OVR[14],_OVR[18], Metr"
R27 is just an example of an R parameter. The texts "INCH" and "Metro" at the end of the
second and third line are examples for comment texts. This makes it easy, for example, to
append dimensions after the measurement results.
7.1.6

Log format

Programming
The following values can be specified for the log format:
Variable
_PROTFORM[0]
_PROTFORM[1]
_PROTFORM[2]
_PROTFORM[3]
_PROTFORM[4]
_PROTFORM[5]
_PROTSYM[0]
_PROTSYM[1]
_DIGIT
Explanation
The value set in parameter _PROTFORM[0] determines when a log header with title lines is
output again. If this parameter is set to zero, the log only contains a header at the beginning.
The value of parameter _PROTFORM[5] determines the column width of the log. If the
parameter=0, the column width of each column is derived from the string lengths (number of
characters between the commas) of the 1st header line (_PROTVAL[0]). This makes it
possible to individually define the width of each column. If the value >0, each column is
formatted to this value if the string length allows it. Logging of variables always has priority,
i.e. when specified format limits are exceeded they are modified and an alarm without
terminating execution is generated.
The _PROTSYM[1] parameter can be used to define the special characters used to identify
when tolerance limits are exceeded (_TSA,_TDIF,_TUL,_TLL) in the log.
Identification takes the form of the addition of the special character to the relevant actual
value and associated measurement difference if these values are logged.
The number of decimal places can be set via the variable _DIGIT in GUD6 data block
(display precision).
Measuring cycles
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Data type
Meaning
INTEGER
Number of characters per page including log header
INTEGER
Number of characters per line
INTEGER
First page number
INTEGER
Number of customized log header lines
INTEGER
Number of value lines in the log
INTEGER
Column width/variable column width
CHAR
Separators between the values in the log
CHAR
Special characters for identification when tolerance limits are
exceeded
INTEGER
Number of decimal places
Miscellaneous functions
7.1 Log measurement results
7-7

Advertisement

Table of Contents
loading

Table of Contents