00193786-02 - 第146页

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 146 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 . 3 E qu i p m e n t R e po r ts A nno tate d S t ep SE …

100%1 / 241
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.
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.