00193786-02 - 第85页

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 ©S i e m en s A G, a ll r i gh t s r e s e r v ed page 85 o f 241 F o r c o m pa t i b ili t y w i t h o l de r Ho s t i m p l e m…

100%1 / 241
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 84 of 241 ©Siemens AG, all rights reserved
4.3 Stream 1
4.3.1 S1F1 - Are You There{XE "S1F1"}
S1F1 W. * H<->E
The Host may send this message to the Equipment at any time.
The SIPLACE sends this message periodically as a "heartbeat" to determine if the SECS
link is operational.
The Equipment Constant ConfigConnect can be set to cause the Equipment to send
S1F1 instead of S1F13 for Connect Request.
4.3.2 S1F2 - On Line Data (Equipment to Host)
{XE "S1F2"}S1F2 * H<-E
<L
<A {XE "MDLN"}MDLN> * MDLN Model Number
<A {XE "SOFTREV"}SOFTREV> * SOFTREV Software Revision
> .
The Equipment reports its Model Number and Software Revision.
4.3.3 S1F2 - On Line Data (Host to Equipment)
{XE "S1F2"}S1F2 * H->E
<L> .
4.3.4 S1F3 - Selected Status Request
{XE "S1F3"}S1F3 W * H-> E
<L
<U4 VID> * Variable ID
...
> .
The Host requests status from the SIPLACE. The Host sends the VIDs of interest.
Several VIDs can be specified if desired.
Normally, only VIDs of class SV (i.e. Status Variables) are used in this message.
However, the SIPLACE allows the Host to use any VID of class DV, EC, or SV.
If S1F3 contains a zero-length list, then the SIPLACE will report all variables of class SV,
in order by VID.
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 85 of 241
For compatibility with older Host implementations, the Equipment allows the following
alternative form for this message using an array format:
S1F4 W * H->E
<U4 VID...>.
4.3.5 S1F4 - Selected Status Data
{XE "S1F3"}S1F4 W * H<-E
<L
<V> * Status Variable Value
...
> .
The Equipment returns the Variable Values in the order requested by S1F3. If any VID
specified in S1F3 is invalid, the corresponding V in S1F4 has the following error format:
<L> * V for Invalid VID
4.3.6 S1F11 - Status Variable Namelist Request
{XE "S1F11"}S1F11 W * H->E
<L
<U4 VID> * Status Variable ID
...
>.
The Host format descriptions for the specified Variables. Several VIDs can be specified
if desired.
Normally, only VIDs of class SV (i.e. Status Variables) are used in this message.
However, any VID of class DV, EC, or SV can be used.
If S1F11 contains a zero-length list, then the Equipment will report all variables of class
SV, in order by VID.
S1F11 W * H->E
<L> .
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 86 of 241 ©Siemens AG, all rights reserved
4.3.7 S1F12 - Status Variable Namelist Reply
{XE "S1F12"}S1F12 * H<-E
<L
<L [3]
<U4 VID> * Variable ID
<A {XE "SVNAME"}SVNAME> * Status Variable Name
<A UNITS> * Units of Measure
...
> .
The Equipment returns the Variable descriptions in order requested in S1F11. If any VID
specified in S1F11 is invalid, the corresponding List in S1F12 has the following error
format:
<L> * Instead of L [3]
4.3.8 S1F13 - Connect Request
The Equipment sends this message using the following format.
{XE "S1F13"}S1F13 W * H<-E
<L
<A {XE "MDLN"}MDLN>
<A {XE "SOFTREV"}SOFTREV>
> .
The Host sends this message using the following format.
S1F13 W * H->E
<L> .
Either end of the link may send S1F13 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.