00191134-03 - 第89页

GEM for SIPLACE V5.01 ©Siemens AG, all rights r eserved page 89 of 252  6)5HVHW6SRROLQJ6WUHDPVDQG)XQFWLRQV S2F43 W * H -> E <L <L [2] <U1 STRID> * Message Stream <L <U1 FCNID> * M…

100%1 / 245
GEM for SIPLACE V5.01
Page 88 of 252 ©Siemens AG, all rights reserved
A non-zero value for HCACK indicates that the Equipment has rejected the Remote
Command. The number of erroneous parameters "n" can be zero or greater.
HCACK Description
0x00 OK. All normal.
0x01 Invalid command. Equipment rejects command
0x02 Cannot perform now. Equipment rejects
command.
0x03 At least one parameter is invalid. Equipment
rejects the command.
0x04 Acknowledge, command will be performed with
completion signaled later by an event.
0x05 Rejected. Already in desired condition.
0x06 Control State is Local. Equipment rejects
command.
0x07 Recipe is not in library. Equipment rejects
command.
0x08 Control Mode is not „GEM-Host“. Equipment
rejects command.
0x09 Bad PP-Body. Equipment rejects command.
CPACK Description
0x01 Invalid parameter name (CPNAME). The
CPNAME is not a valid parameter for this
command.
0x02 Illegal parameter value (CPVAL). The parameter
value is out of range.
0x03 Illegal format for parameter (CPVAL). The value
for this parameter does not use the correct
SECS-II data item type.
0x04 Invalid PP-ID. The PP is not in library.
GEM for SIPLACE V5.01
©Siemens AG, all rights reserved page 89 of 252
 6)5HVHW6SRROLQJ6WUHDPVDQG)XQFWLRQV
S2F43 W * H -> E
<L
<L [2]
<U1 STRID> * Message Stream
<L
<U1 FCNID>* Message Function
...
>
>
...
> .
The Host sends message to specify which messages the Equipment should spool in the
event of a communications loss. When this message is received by the Equipment, all
previous definitions of messages to spool are replaced.
The following version of S2F43 will enable spooling for all messages within the specified
stream:
S2F43 W * H -> E
<L
<L [2]
<U1 STRID> * Message Stream
<L>
>
...
> .
To disable spooling of all messages, the following version of S2F43 may be used.
S2F43 W * H -> E
<L>.
Spooling is not allowed for even-numbered function messages (replies) or stream one
messages.
GEM for SIPLACE V5.01
Page 90 of 252 ©Siemens AG, all rights reserved
 6)5HVHW6SRROLQJ$FNQRZOHGJH
The S2F44 message has two forms, depending on the return code in RSPACK. If there
are no errors in S2F43, the format of S2F44 is as follows.
S2F44 * H <- E
<L [2]
<B [1] 00> * RSPACK
<L>
> .
If S2F43 contains any errors, the Equipment will discard the entire S2F43, and return error
information is S2F44, as follows:
S2F44 * H <- E
<L [2]
<B [1] 01> * RSPACK
<L
<L [3]
<U1 STRID> * Msg String
<B STRACK> * Stream Ack Code
<L
<U1 FCNID>* Msg Function
...
>
>
...
>
> .
The RSPACK code indicates whether the Equipment accepted the S2F43 message:
RSPACK Description
0x00 Acknowledge, spooling setup accepted.
0x01 Spooling setup rejected. At least one message
requested as spool-able could not be made so.
When errors exist in the request to set some messages as spool-able, the Equipment will
return codes explaining the nature of the error. These codes are found in the STRACK
data item.
STRACK Description
0x01 Spooling not allowed for this stream. Spooling is
never allowed for stream one.
0x04 Requested message is a secondary message
and therefore ineligible for spooling