10.91 1 Introduction
1.9.2 Logging via CP315 with the SINUMERIK 840/880
1.9.2.3 Data transmission between NC and PLC
Data transmission, general
The following data must be transmitted from the NC to the PLC:
• Part program for form
The part program is transmitted to the PLC using the ”File transfer with PLC initiation”
function.
• Control parameter for protocol output, data for protocol header and parameters for
measuring point numbers. R parameters R39 to R45 are used for these.
• Measurement results and parameters for tolerance violations
The measurement results are contained in the R parameters R200 to R219. The identifiers
for tolerance violations are contained in the R paramenters R38 and R39.
The type of data to be transmitted is defined in R39, 2nd digit:
0 = Part program for form
1 = Header data
2 = Measurement results + R39+R38 (+R45)
3 = Control function
..
..
9 = Control function
The part program number of the format description must be entered in R1. It is also possible
to use a screen form to transmit the part program (for the form) and to enter the part program
number.
Call of L988 (internal/external)
• Initiation for transmitting a part program with format description
(external call of L988)
.
.
R39=xxxxx0xx
R1=<MPF No.>
L988
.
.
Transfer R39
MPF No.
transferred
Initiate
transmission
MPF <Workp. progr.>
L988
R39
MPF =<No.>
Coordination
bit
NC PLC
©
Siemens AG 1990 All Rights Reserved 6FC5197- AB70 1–33
SINUMERIK 840/850/880 (BN)