00193368-02 - 第82页
SIPLACE GEM for S25HM, S27HM, HS50 , HS60 SW Version GEM 503.02 HOST Inter fac e Manual Page 82 of 243 ©Siemens AG, all rights reser ved 4.3.15 S1F66 - Connect Request A cknow ledge Note: This mess age is prov ided only …

SIPLACE GEM for S25HM, S27HM, HS50, HS60 SW Version GEM 503.02
HOST Interface Manual
©Siemens AG, all rights reserved page 81 of 243
Equipment responds to S1F17 primary in an attempt to go On-Line. Data item ONLACK
indicates the success or failure of the attempt.
ONLACK Description
0x00 OK. Equipment On-Line transition successful.
Equipment Control State transits to either Local
or Remote while On-Line as guided by the EC
„GemOnlineSubstate“.
0x01 On-Line not allowed.
0x02 Equipment already On-Line.
4.3.14 S1F65 - Connect Request
Note: This message is provided only for compatibility with Host computers which support
an older version of GEM
.
The Equipment Constant ConfigConnect can be set to cause the Equipment to send
S1F65 instead of S1F13 for Connect Request.
The Equipment sends this message using the following format:
S1F65 W * H<-E
<L
<A MDLN>
<A SOFTREV>
> .
Format 1: The Host sends this message using the following format:
S1F65 W * H->E
<L> .
Format 2: The Equipment also accepts the following form of this message:
S1F65 W . * H->E
Either end of the link may send S1F65 as the first message to establish connection of the
link.
Under the SIPLACE's initialization logic, the Equipment will always attempt to establish the
link. If no Host acceptance reply is received, the Equipment sends this message
periodically.

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