00193786-02 - 第104页

S I P L A C E G EM S W V e r s i on G EM 505 . 03 SP 1 H O S T I n t e r f a c e M anua l P age 104 o f 241 ©S i e m en s A G, a ll r i gh t s r e s e r v ed 4 . 4 . 30 S 2 F 44 - R eset S poo li ng A ck no wl e dg e { X…

100%1 / 241
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 103 of 241
4.4.29 S2F43 - Reset Spooling Streams and Functions{XE
"S2F43"}
S2F43 W * H -> E
<L
<L [2]
<U1 {XE "STRID"}STRID> * Message Stream
<L
<U1 {XE "FCNID"}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 {XE "STRID"}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.
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 104 of 241 ©Siemens AG, all rights reserved
4.4.30 S2F44 - Reset Spooling Acknowledge{XE "S2F44"}
The S2F44 message has two forms, depending on the return code in {XE
"RSPACK"}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:
{XE
RSPACK“}
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
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 105 of 241
4.4.31 S2F45 - Define Variable Limits Attributes{XE
"S2F45"}
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>
> .