00192402-01 - 第119页
GEM for SIPLACE V7.01 ©Siemens AG, all rights r eserved page 119 of 251 6)3URFHVV3URJUDP'D WD S7F6 * H<->E, Multiblock <L [2] <A PPID> * Process Program ID < B [n] PPBODY> * PPBO D…

GEM for SIPLACE V7.01
Page 118 of 251 ©Siemens AG, all rights reserved
Send an Unformatted Process Program. Before sending a multi-block S7F3, the
Equipment always first sends the S7F1/S7F2 Inquire/Grant transaction. The Host may
send S7F1/S7F2 before sending S7F3. The Equipment accepts it, but does not require it.
6)3URFHVV3URJUDP$FNQRZOHGJH
S7F4 * H<->E
<B [1] ACKC7> . * ACKC7
The Receiver acknowledges the receipt of the Process Program. If the transfer
succeeds, ACKC7 will contain 0x00, and the Receiver stores the new Process Program
into its library. Any previous Process Program with the same PPID is deleted. Any non-
zero ACKC7 indicates refusal of the Process Program.
When the Equipment sends S7F4, ACKC7 may contain the following codes. Any non-
zero code indicates that S7F3 has not changed the Equipment Library.
ACKC7 Description
0x00 Normal. Process Program Accepted and stored
into Library.
0x01 Permission Not Granted. Insufficient space in
Library.
0x05 Other Error.
0x06 Cannot perform now. Equipment rejects
command.
0x07 Control State is Local. Equipment rejects
command
0x08 Control Mode is not „GEM-Host“. Equipment
rejects command.
0x09 PPBODY use ASCII format. Equipment rejects
command.
When the Host sends S7F4, the Equipment interprets ACKC7 as follows:
ACKC7 Description
0x00 Normal.
Other Refusal. The upload operation fails.
6)3URFHVV3URJUDP
S7F5 W * H<->E
<A PPID> . * Process Program ID
Request the other end of the link to send a specified Process Program from its library.

GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 119 of 251
6)3URFHVV3URJUDP'DWD
S7F6 * H<->E, Multiblock
<L [2]
<A PPID> * Process Program ID
< B [n] PPBODY> * PPBODY - Process Program Body
Send the requested Process Program.
If the specified PPID is not found in the library, S7F6 has the following special format:
S7F6 * H<->E
<L> .
If the Equipment receives S7F6 and cannot store the Process Program in its library, the
CEID BadDownload is signaled, with PPChangeName set to the PPID of the requested
Process Program. This occurs if the received S7F6 is of the special "not found" form, if
the S7F6 message is not in the expected format, or if an error is detected in PPBODY (for
example, a parameter out of range).
6)3URFHVV3URJUDP'HOHWH
S7F17 W * H->E
<L
<A PPID> * Process Program ID
...
> .
The Host deletes one or more Process Programs from the Equipment library.
If S7F17 contains a zero-length List, the entire library is deleted.
6)3URFHVV3URJUDP'HOHWH$FNQRZOHGJH
S7F18 * H<-E
<B [1] ACKC7> . * ACKC7 - Acknowledge Code
The Equipment acknowledges the Process Program delete.
ACKC7 Description
0x00 Normal. All specified PPIDs have been deleted.
0x04 Error: At least one specified PPID was not found.
However, correct PPIDs have been deleted from
the Equipment Library
6)3URFHVV3URJUDP'LUHFWRU\
S7F19 W . * H->E
The Host requests a directory of the Process Programs currently in the Equipment library.

GEM for SIPLACE V7.01
Page 120 of 251 ©Siemens AG, all rights reserved
6)3URFHVV3URJUDP'LUHFWRU\
S7F20 * H<-E
<L
<A PPID> * Process Program ID
...
> .
The Equipment sends a directory of its Process Program library. If the library is empty,
the list will be zero length.