00193786-02 - 第147页

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 147 o f 241 5 . 2 . 4 H o st I n i t i ates T r ace S t ep SE C S M e ss ag…

100%1 / 241
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 146 of 241 ©Siemens AG, all rights reserved
5.2.3 Equipment Reports Annotated
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 True, requesting Annotated reports.
2. H <- E S6F5 W Inquire. If S6F13 will be multi-block, the
Equipment first sends this Inquire to request
permission. If S6F13 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 S6F13 W The Equipment sends annotated event reports
for the CEID that occurred.
5. H -> E S6F14 The Host acknowledges the report.
Note: In all other scenarios in which event reports occur, the Events or Annotated
Events are shown in abbreviated form (S6F11/S6F12 only). The complete Event Report
Scenarios are shown here.
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 147 of 241
5.2.4 Host Initiates Trace
Step SECS Message Description
1. H -> E S2F23 W The Host initiates a trace.
2. H <- E S2F24 The Equipment acknowledges the trace request.
If the data in S2F23 is not valid, the
acknowledge code in this message is non-zero
and the scenario ends. Otherwise, the following
steps are done TOTSMP“ times, where {XE
TOTSMP“}TOTSMP is the total number of
samples to be done.
3.
The Equipment waits{XE DSPER“}DSPER
(data sample period). While waiting, the
Equipment continues to operate normally,
responding to any SECS messages that may be
received, etc. After the wait is finished, the
values of the variable(s) to be traced are
obtained and saved. If{XE
REPGSZ“}REPGSZ samples have been
saved, or if this is the last sample, do the
following steps.
4. H <- E S6F1 W The Equipment sends trace data.
5. H -> E S6F2 If the S6F1 has its W-bit set to 1, the Host
acknowledges the trace data.
6. If this is the last sample, the Equipment
terminates this trace and the scenario ends.
Otherwise, go back to the beginning of step 3.
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 148 of 241 ©Siemens AG, all rights reserved
5.2.5 Host Terminates Trace
Assumption: The Host started a Trace report as in the above scenario.
Step SECS Message Description
1. H -> E S2F23 W The Host initiates a trace, with the same trace
ID as the currently running trace, and with {XE
TOTSMP“}TOTSMP (number of samples) set
to 0.
2. H <- E S2F24 The Equipment acknowledges the trace
request. If the data in S2F23 is valid, the
Equipment terminates the trace.
3. If the Equipment has saved trace data that has
not yet been sent to the Host, it discards the
saved data.
5.2.6 Host Requests Status
Step SECS Message Description
1. H -> E S1F3 W Discrete Variable Request. The Host requests
the VIDs of interest.
2. H <- E S1F4 The Equipment sends the Variable values.
5.2.7 Host Defines Limits{XE "Limits Monitoring"}
Step SECS Message Description
1. H -> E S2F45 W Host defines new variable limits attributes.
2. H <- E S2F46 Equipment accepts new limits definitions, and
responds with {XE „VLAACK“}VLAACK =
0x00.
5.2.8 Host Queries Defined Limits{XE "Limits Monitoring"}
Step
SECS Message Description
1.
H -> E S2F47 W Host requests listing of defined limits. This
request may be for limits of individual
variables listed in this message, or if this
message is an empty list, all limits will be
replied.
2.
H <- E S2F48
{XE „VLAACK“}Equipment sends limits values
as required.