00193368-02 - 第83页

SIPLACE GEM for S25HM, S27HM, HS50, HS60 SW Version GEM 503.02 HOST Inter fac e Manual ©Siemens AG, all rights reser ved page 83 of 243 4.4 Stream 2 4.4.1 S2F13 - Equipment Constant Request S2F13 W * H->E <L <U4…

100%1 / 243
SIPLACE GEM for S25HM, S27HM, HS50 , HS60 SW Version GEM 503.02
HOST Interface Manual
Page 82 of 243 ©Siemens AG, all rights reserved
4.3.15 S1F66 - Connect Request Acknowledge
Note: This message is provided only for compatibility with Host computers which support
an older version of GEM.
If the Host sends S1F65, Format 1, the Equipment replies S1F66 using the following
format.
S1F66 * H<-E
<L
<B [1] 00> * COMMACK
<L
<A MDLN>
<A SOFTREV>
>
> .
If the Host sends S1F65, format 2, the Equipment replies S1F66 using the following
format.
S1F66 * H<-E
<B [1] 00> . * COMMACK
The Host sends this message using the following format.
S1F66 * H->E
<L
<B [1] 00>
<L>
> .
The Equipment also accepts the following form of this message.
S1F66 * H->E
<B [1] 00> . * COMMACK
The Equipment always sends the value 0x00 for COMMACK.
In messages received from the Host, COMMACK value 0x00 indicates acceptance of the
connect request. Any other values indicates refusal.
SIPLACE GEM for S25HM, S27HM, HS50, HS60 SW Version GEM 503.02
HOST Interface Manual
©Siemens AG, all rights reserved page 83 of 243
4.4 Stream 2
4.4.1 S2F13 - Equipment Constant Request
S2F13 W * H->E
<L
<U4 VID> * Equipment Constant ID
...
> .
The Host requests the VIDs of interest. Several VIDs can be specified if desired.
Normally, only VIDs of class EC (i.e. Equipment Constants) are used in this message.
However, any VID of class DV, EC, or SV can be used.
If S2F13 contains a zero-length list, then the Equipment will report all variables of class
EC, in order by VID.
For compatibility with older Host implementations, the Equipment allows the following
alternative form for this message, using an array format:
S2F13 W * H->E
<U4 VID VID ...> . * Equipment Constant ID
4.4.2 S2F14 - Equipment Constant Data
S2F14 * H<-E, Multiblock
<L
<V> * Equipment Constant Value
...
> .
The Equipment returns the Equipment Constants in the order requested in S2F13. If any
VID specified in S2F13 is invalid, the corresponding V in S2F14 has the following error
format:
<L> * V for Invalid VID
SIPLACE GEM for S25HM, S27HM, HS50 , HS60 SW Version GEM 503.02
HOST Interface Manual
Page 84 of 243 ©Siemens AG, all rights reserved
4.4.3 S2F15 - New Equipment Constant Send
S2F15 W * H->E
<L
<L [2]
<U4 VID> * Equipment Constant ID
<V>
>
...
> .
The Host sends new values for desired Equipment Constants. Several Equipment
Constants can be specified if desired.
Only VIDs of class EC can be used in this message.
4.4.4 S2F16 - Equipment Constant Send Acknowledge
S2F16 * H<-E
<B [1] EAC> . * Equipment Acknowledge Code
Normal completion returns a zero (0) in EAC. If any ECID or ECV in S2F15 is invalid,
then EAC contains a non-zero value, and the Equipment rejects the entire S2F15.
Possible EAC values are:
EAC Description
0x00 OK
0x01 At least one ECID invalid
0x03 At least one ECV out of range