00192402-01 - 第92页

GEM for SIPLACE V7.01 Page 92 of 251 ©Siem ens AG, all rights reserved  6)5HVHW6SRROLQJ$ FNQRZOHGJH The S2F44 m es sage has two form s , depending on the return code in RSPACK. If there are no error s in S…

100%1 / 251
GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 91 of 251
 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 V7.01
Page 92 of 251 ©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
GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 93 of 251
 6)'HILQH9DULDEOH/LPLWV$WWULEXWHV
S2F45 W * H -> E
<L [2]
<U4 DATAID>
<L
<L [2]
<U4 VID> * Variable ID
<L
<L [2]
<B [1] LIMITID>
<L [2]
<UPPERDB>
<LOWERDB>
>
>
>
...
>
...
>
> .
With this message, the Host defines a set of limits for a single variable or a series of
variables.
DATAID may be any value, and is ignored by the Equipment.
VID must specify the Variable ID of a Variable for which Limits Monitoring is allowed.
LIMITID must be between 0x01 and 0x07. It specifies one of the seven allowable limits
for the variable.
UPPERDB and LOWERDB must match the value format of the specified variable
The Host may undefine all limits for all VIDs:
S2F45 W * H -> E
<L [2]
<U4 DATAID>
<L>
> .