Owner's manual

SECS Scenarios 5-5
5.2.4 Host Initiates Trace
Table 5-9 SECS Messages 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 TOTSMPtimes, 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 REPGSZsamples 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.
5.2.5 Host Terminates Trace
Assumption: The Host started a Trace report as in the above scenario.
Table 5-10 SECS Messages Host Terminates Trace
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
Table 5-11 SECS Messages 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.