00193786-01 - 第143页
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 Tr ace report as in the above scenario. Step SECS Messag…

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.

SIPLACE GEM SW Version GEM 505.01 HOST Interface Manual
Page 144 of 236 ©Siemens AG, all rights reserved
5.2.9 Host Requests Report by CEID
Step SECS Message Description
1. H -> E S6F15 W Request Event Report. The Host requests a
report for the specified CEID. In this way, the
host requests the Equipment to „pretend that
the specified CEID has occurred.
2. H <- E S6F16 The Equipment sends reports linked to that
CEID.
5.2.10 Host Requests Annotated Report by CEID
Step SECS Message Description
1. H -> E S6F17 W Request Annotated Event Report. The Host
requests a report for the specified CEID. In
this way, the host requests the Equipment to
„pretend“ that the specified CEID has
occurred.
2. H <- E S6F18 The Equipment sends annotated reports linked
to that CEID.
5.2.11 Host Requests Report by RPTID
Step
SECS Message Description
1.
H -> E S6F19 W Request Report. The Host requests a report
for the specified RPTID.
2.
H <- E S6F20 The Equipment sends the report.
5.2.12 Host Requests Annotated Report by RPTID
Step SECS Message Description
1. H -> E S6F21 W Request Annotated Report. The Host requests
an annotated report for the specified RPTID.
2. H <- E S6F22 The Equipment sends the annotated report.
5.2.13 Are You There
Step SECS Message Description
1. H -> E S1F1 W Are You There. The Host sends this simple
message.
2. H <- E S1F2 The Equipment reports its MDLN and
SOFTREV.