00193786-01 - 第142页

SIPLACE GEM SW Version GEM 505.01 HOST Interface Manual Page 142 of 236 ©Siemens AG, all rights reserved 5.2.4 Host Initiates Trace Step SECS Message Description 1. H -> E S2F23 W The Host initiates a trace. 2. H <…

100%1 / 236
SIPLACE GEM SW Version GEM 505.01
HOST Interface Manual
©Siemens AG, all rights reserved page 141 of 236
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 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 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.01 HOST Interface Manual
Page 142 of 236 ©Siemens AG, all rights reserved
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
TOTSMP is the total number of samples to be
done.
3. The Equipment waits „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 „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.01
HOST Interface Manual
©Siemens AG, all rights reserved page 143 of 236
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
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
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 VLAACK = 0x00.
5.2.8 Host Queries Defined Limits
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 Equipment sends limits values as required.