00193786-02 - 第144页

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 144 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 5 . 2 D ata C o ll ect i on 5 . 2 . 1 H o st I n i t i a li z …

100%1 / 241
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 143 of 241
5.1.4 Losing Connection, Re-Connecting
Step SECS Message Description
1. H <- E SxFy Any Message. The Equipment encounters
SECS block transmission errors while
attempting to send a message to the Host.,
and reaches its Retry Limit (RTY). The
Equipment considers the SECS link as
disconnected. Spooling will become Active if
enabled.
2. H <-E S1F13 W Connect Request. The Equipment attempts to
re-establish the link.
3. If the send is not successful, or if no reply is
received from the Host, the Equipment waits
for{XE
„EstablishCommunicationsTimer“}EstablishCo
mmunicationsTimer“ seconds and then goes
back to step 2.
4. H -> E S1F14
The Host acknowledges, sending {XE
COMMACK“}COMMACK of 0. The link is
now re-connected.
5.1.5 Heartbeat
Step SECS Message Description
1. H <- E S1F1 W Are You There. The Equipment sends this
message periodically to determine if the SECS
link is still intact.
2. H -> E S1F2 On Line Data. The Host replies. The
Equipment knows that the link is still intact.
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 144 of 241 ©Siemens AG, all rights reserved
5.2 Data Collection
5.2.1 Host Initializes Event
Step SECS Message Description
1. H -> E S2F37 W Disable Event Reports. The Host disables
reporting for all Collection Events.
S2F37 W
<L [2]
<BOOLEAN F>
<L>
> .
2. H <- E S2F38 The Equipment acknowledges. Temporarily,
the Equipment will make no event reports.
3. H ->E S2F33 W Define Report. The Host erases all previous
Report definitions and Links:
S2F33 W
<L [2]
<U4 DATAID>
<L>
> .
4. H <- E S2F34 The Equipment acknowledges.
5. H -> E S2F33 W Define Report. The Host sends Report
Definitions.
6. H <-E S2F34 The Equipment Acknowledges.
7. H -> E S2F35 W Link Events/Reports. The Host links reports to
the desired Collection Events. Linked Reports
are initially disabled.
8. H <- E S2F36 The Equipment acknowledges
9. H -> E S2F15 W Equipment Constant Send. The Host sets
Equipment constant RpType to indicate
whether Event Reports should be in Normal or
Annotated format.
10. H <- E S2F16 The Equipment acknowledges
11. H -> E S2F37 W Enable Event Reports. The Host enables
reporting for desired Collection Events.
12. H <- E S2F38 The Equipment acknowledges. From this
point on, the Equipment will report events as
they occur.
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 145 of 241
5.2.2 Equipment Reports Event
Step SECS Message Description
1. The Equipment recognizes that an event has
occurred. The Host has enabled reporting for
the {XE CEID“}CEID, and possibly has defined
one or more Reports and linked them to the
CEID. The Equipment Constant RpType is set
to False, requesting normal reports.
2. H <- E S6F5 W Inquire. If S6F13 will be multi-block, the
Equipment first sends this Inquire to request
permission. If S6F11 is single-block, skip this
and the next step.
3. H -> E S6F6 Grant. The Host grants permission to send
multi-block event report. If {XE
GRANT6“}GRANT6 is non-zero, this scenario
fails here, and the event data is discarded.
4. H <- E S6F11 W The Equipment sends Event reports for the
CEID that occurred
5. H -> E S6F12 The Host acknowledges the report.