00193786-01 - 第102页

SIPLACE GEM SW Version GEM 505.01 HOST Interface Manual Page 102 of 236 ©Siemens AG, all rights reserved 4.4.31 S2F45 - Define Variable Limits Attributes S 2 F 4 5 W * H - > E <L [2] <U4 DATAID> < L <L …

100%1 / 236
SIPLACE GEM SW Version GEM 505.01
HOST Interface Manual
©Siemens AG, all rights reserved page 101 of 236
4.4.30 S2F44 - Reset Spooling Acknowledge
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
SIPLACE GEM SW Version GEM 505.01 HOST Interface Manual
Page 102 of 236 ©Siemens AG, all rights reserved
4.4.31 S2F45 - Define Variable Limits Attributes
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>
> .
SIPLACE GEM SW Version GEM 505.01
HOST Interface Manual
©Siemens AG, all rights reserved page 103 of 236
The Host may undefine all limits for a specific VID:
S2F45 W * H -> E
<L [2]
<U4 DATAID>
<L
<L [2]
<U4 VID>
<L>
>
...
>
> .
The Host may undefine a specific limit for a specific VID:
S2F45 W * H -> E
<L [2]
<U4 DATAID>
<L
<L [2]
<U4 VID>
<L
<L [2]
<B [1] LIMITID>
<L>
>
>
...
>
...
>
> .
4.4.32 S2F46 - Variable Limit Attribute Acknowledge
This message acknowledges the successful setting of limits as defined in the Host-
generated S2F45.
S4F46 * H <- E
<L [2]
<B [1] * VLAACK
<L>
> .