00191134-03 - 第93页

GEM for SIPLACE V5.01 ©Siemens AG, all rights r eserved page 93 of 252 If any of the lim its proposed in S4F45 ar e invalid, all limits for all variables in this m es sage are rejec ted. The f ollowing mess age is sent i…

100%1 / 245
GEM for SIPLACE V5.01
Page 92 of 252 ©Siemens AG, all rights reserved
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>
>
>
...
>
...
>
> .
 6)9DULDEOH/LPLW$WWULEXWH$FNQRZOHGJH
This message acknowledges the successful setting of limits as defined in the Host-
generated S2F45.
S4F46 * H <- E
<L [2]
<B [1] * VLAACK
<L>
> .
GEM for SIPLACE V5.01
©Siemens AG, all rights reserved page 93 of 252
If any of the limits proposed in S4F45 are invalid, all limits for all variables in this message
are rejected. The following message is sent in the event of an error:
S4F46 * H <- E
<L [2]
<B [1] VLAACK>
<L
<L [3]
<U4 VID>
<B [1] 0x00> * LVACK
<L [2]
<B [1] LIMITID>
<B [1] LIMITACK>
>
>
...
>
> .
Data item VLAACK reports to the Host the status of the request to define limits for the
requested variables.
VLAACK Description
0x00 OK. Limits successfully defined.
0x01 Limit attribute definition error.
GEM for SIPLACE V5.01
Page 94 of 252 ©Siemens AG, all rights reserved
The LVACK data item gives information to the Host about the status of setting a specific
variable when the request to set it is unsuccessful.
LIMIT-
ACK
Description
0x01 Requested variable does not exist.
0x02 Variable is not eligible for limits definition.
0x03 Requested variable was repeated in request
message.
0x04 Error in setting limit due to reason specified in
LIMITACK.
The LIMITACK data item indicates the status of an attempt to set an individual limit for a
variable.
VLACK Description
0x01 LIMITID does not exist.
0x02 Requested UPPERDB is greater than LIMITMAX.
0x03 Requested LOWERDB is lower than LIMITMIN.
0x04 UPPERDB < LOWERDB
0x05 Illegal format specified for UPPERDB or
LOWERDB.
 6)9DULDEOH/LPLW$WWULEXWH5HTXHVW
S2F47 W * H -> E
<L
<U4 VID> * Requested Variable ID
...
> .
The Host sends this message to the Equipment to request the limits attributes for specific
variables. The Host may request the limits attributes for all defined variables with the
following message.
S2F47 W * H -> E
<L> .
In response to this message, the Equipment reports all limits attributes for all variables. If
a variable is eligible for limits monitoring, but does not have any limits defined, it is not
reported.