00191134-03 - 第115页

GEM for SIPLACE V5.01 ©Siemens AG, all rights r eserved page 115 of 252  6WUHDP  6)3URFHVV3URJUDP/RDG,QT XLUH S7F1 W * H<->E <L [2] <A PPID> * Process Program ID <U4 LENGTH > * Le…

100%1 / 245
GEM for SIPLACE V5.01
Page 114 of 252 ©Siemens AG, all rights reserved
 6)5HTXHVW6SRROHG'DWD$FNQRZOHGJH
S6F24 * H <- E
<B [1] RSDA> .
Equipment acknowledges the Host's request to either purge spooled messages or send
spooled messages to the Host.
RSDA Description
0x00 Normal. Equipment will start to send spooled
data or optionally purge the spool. Action
performed will depend on value for RSDC in
S6F23.
0x02 Denied. Spooled data does not exist.
GEM for SIPLACE V5.01
©Siemens AG, all rights reserved page 115 of 252
 6WUHDP
 6)3URFHVV3URJUDP/RDG,QTXLUH
S7F1 W * H<->E
<L [2]
<A PPID> * Process Program ID
<U4 LENGTH> * Length of text
> .
The Sender requests permission to send a Process Program. The Process Program may
be either a Load Recipe, Process Recipe, or Parameter Table.
The Equipment always sends this Inquire/Grant transaction before sending any multi-
block S7F3. LENGTH specifies the number of bytes in the following S7F3 message,
excluding SECS-I block-length bytes, block headers, and checksums.
For Host-to-Equipment transfers, this Inquire/Grant is optional. The Equipment accepts it,
but ignores it, commits no resources, and initiates no Conversation timeout. The
Equipment will accept a multi-block S7F3 even if not preceded by the Inquire/Grant.
 6)3URFHVV3URJUDP/RDG
S7F2 * H<->E
<B [1] 00> . * PPGNT
The Receiver grants permission to send a Process Program. The Receiver sends
PPGNT value 0x00 to indicate it will accept the Process Program, and the Sender should
send S7F3. If the Receiver sends any other value in S7F2, it refuses the Grant, and the
Sender should not send S7F3.
The Process Program may be either a Load Recipe, Process Recipe, or Parameter Table.
When the Equipment sends S7F2, PPGNT may contain the following codes:
PPGNT Description
0x00 Normal. Permission granted.
When the Host sends S7F2, the Equipment interprets PPGNT as follows:
PPGNT Description
0x00 Normal. The Equipment sends S7F3.
Other Refusal. The Equipment does not send S7F3
and the upload operation fails.
 6)3URFHVV3URJUDP
S7F3 W * H<->E, Multiblock
<L [2]
<A PPID> * PPID - Process Program ID
<B [n] PPBODY> * PPBODY - Process Program Body
GEM for SIPLACE V5.01
Page 116 of 252 ©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)3URFHVV3URJUDP$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)3URFHVV3URJUDP
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.