00193786-02 - 第90页
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 90 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 S t r ea m 2 4 . 4 . 1 S 2 F 13 - E qu i p m e n t C on s…

SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 89 of 241
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.
{XE "S1F66"}S1F66 * H<-E
<L
<B [1] 00> * COMMACK
<L
<A {XE "MDLN"}MDLN>
<A {XE "SOFTREV"}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 {XE "COMMACK"}COMMACK.
In messages received from the Host, COMMACK value 0x00 indicates acceptance of the
connect request. Any other values indicates refusal.

SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 90 of 241 ©Siemens AG, all rights reserved
4.4 Stream 2
4.4.1 S2F13 - Equipment Constant Request
{XE "S2F13"}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
{XE "S2F14"}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 SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 91 of 241
4.4.3 S2F15 - New Equipment Constant Send
{XE "S2F15"}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
{XE "S2F16"}S2F16 * H<-E
<B [1] {XE "EAC"}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