00192402-01.pdf - 第94页
GEM for SIPLACE V7.01 Page 94 of 251 ©Siem ens AG, all rights reserved The Hos t ma y undefine all lim its f or a spec ific VID: S2F45 W * H -> E <L [2] <U4 DATAID > <L <L [2] <U4 VID> <L> &…

GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 93 of 251
6)'HILQH9DULDEOH/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>
> .

GEM for SIPLACE V7.01
Page 94 of 251 ©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 V7.01
©Siemens AG, all rights reserved page 95 of 251
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.