Logging Via Cp315 With The Sinumerik 840/880; 1.9.2.1 General Description - Siemens SINUMERIK 840 User Manual

Hide thumbs Also See for SINUMERIK 840:
Table of Contents

Advertisement

1 Introduction

1.9.2 Logging via CP315 with the SINUMERIK 840/880

1.9.2
Logging via CP315 with the SINUMERIK 840/880
Measurement results determined by workpiece measuring cycles can be logged with the
CP315 and the subfunction FB package "Logging of measurement results". To do this, they
are transferred to the PLC using the cycle L988. The PLC prepares the measurement results
for log output. The measurement results are then transferred to the printer using the
subfunction FB package "PLC controlled data output".

1.9.2.1 General description

The workpiece measuring cycles determine the data associated with a measuring point and
store them in result parameters R200 to R219. These R parameters are available to the user
for logging.
Using the cycle L988, the FB package "Logging of measurement results" picks those R
parameters the user wants to be logged and outputs them on a printer (formatted). Data
transmission is initiated by cycle L988, if the function has been activated via MDC.
The "Logging of measurement results" function is activated via MDC 7000.6. The output
module is defined via MDC 7000.1.
Bit 7000.1=0:
Logging via P-PCB
Bit 7000.1=1:
Logging via CP315
The CP315 output module is required for logging with L988.
Measurement results are output line by line.
When a workpiece has been completely machined, page feed can be effected via a control
parameter to enable the log to be removed from the printer.
When a new workpiece is machined, the header and the plaintext for the measured value table
is printed out for a new form. Automatic page feed takes place when the bottom of the page is
reached. If some measuring points of the workpiece have not yet been recorded, the old
header and plaintext are output once again, the page numbering on the following pages is
incremented by 1 and the measuring point numbers are continued on the new page.
When machining of a new workpiece is started, a new protocol header is output and the page
numbering of the protocol associated with the workpiece is reset to 1.
The user can influence the layout of the form. For example, the fixed texts on the form can be
modified to suit the needs of the user. The data types logged on the form can also be freely
chosen (within the scope of the available formats). The form is configured, i.e. texts for the
form are entered via a part program.
The date and page number of the protocol pages associated with the workpiece can be output
on the form.
The following procedure is used to log measurement results:
Preparation of a part program for configuring the form and programming of initialization
triggering transmission of the part program to the PLC.
Programming of initialization triggering transmission of header data for the protocol to the
PLC.
Programming of a control parameter for protocol output and transmission to the PLC.
Programming of initialization triggering transmission of measuring results to the PLC.
1–28
©
Siemens AG 1990 All Rights Reserved
SINUMERIK 840/850/880 (BN)
08.96
6FC5197- AB70

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents