00192402-01 - 第89页

GEM for SIPLACE V7.01 ©Siemens AG, all rights r eserved page 89 of 251  6)5HPRWH& RPPDQGZLWK S2F41 [W ] * H->E <L [2] <A RCMD> * Remote c om mand s tring <L <L [2] <A CPNAME> * …

100%1 / 251
GEM for SIPLACE V7.01
Page 88 of 251 ©Siemens AG, all rights reserved
S2F37 W * H->E
<L [2]
<BOOLEAN CEED> * Coll. Event Enable
<L>
> .
 6)(QDEOH'LVDEOH(YHQW5HSRUW$FNQRZOHGJH
S2F38 * H<-E
<B [1] ERACK> . * ERACK - Acknowledge Code
Normally, ERACK is zero. Any non-zero ERACK indicates the Equipment has rejected
the entire S2F37 message.
ERACK Description
0x00 OK
0x01 Denied. At least one CEID does not exist.
 6)0XOWL%ORFN
S2F39 W * H->E
<L [2]
<U4 DATAID> * DATAID
<U4 DATALENGTH>
> .
The Host may send this Inquire/Grant transaction preceding any multiblock S2F33 or
S2F35. For this Equipment, this Inquire/Grant is optional. The Equipment accepts it, but
ignores it, commits no resources, and initiates no Conversation Timeout. The Equipment
accepts multiblock S2F33 or S2F35 even if not preceded by the Inquire/Grant.
 6)0XOWL%ORFN*UDQW
S2F40 * H<-E
<B [1] 00> . * GRANT
The Equipment always sends GRANT value "0".
GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 89 of 251
 6)5HPRWH&RPPDQGZLWK
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.