00192402-01 - 第90页
GEM for SIPLACE V7.01 Page 90 of 251 ©Siem ens AG, all rights reserved A non-zero value for HCACK indicates that the Equipm ent has rejec ted the Rem ote Comm and. T he num ber of er roneous param eters "n" can…

GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 89 of 251
6)5HPRWH&RPPDQGZLWK
S2F41 [W] * H->E
<L [2]
<A RCMD> * Remote command string
<L
<L [2]
<A CPNAME> * Command Parameter Name
<CPVAL> * Command Parameter Value
>
...
>
> .
The Host sends a command with parameters to the Equipment. If a command has no
parameters, S2F41 has the following format:
S2F41 [W] * H->E
<L [2]
<A RCMD> * Remote Command String
<L>
> .
The SIPLACE ignores case when performing validity checks on the RCMD and CPNAME
strings. The ASCII strings described below may be sent in any combination of upper and
lower case characters.
The Host may optionally set the W-Bit to "1" in S2F41. If so, the Equipment replies with
S2F42.
6)5HPRWH&RPPDQG$FNQRZOHGJH
S2F42 * H<-E
<L [2]
<B [1] HCACK> * Host Command Ack. Code
<L [n]
<L [2]
<A CPNAME> * name of parameter
<B [1] CPACK> * Cmd Param Ack Code
>
...
>
> .
Normal completion returns a zero (0) in HCACK. The number of erroneous parameters
"N" in S2F42 will be zero.

GEM for SIPLACE V7.01
Page 90 of 251 ©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 V7.01
©Siemens AG, all rights reserved page 91 of 251
6)5HVHW6SRROLQJ6WUHDPVDQG)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.