Fujitsu softune f2 mc-16 Manuel D’Utilisation

Page de 354
170
CHAPTER 2  DEPENDENCE FUNCTIONS
2.3.6.1
Setting Single Trace
To perform a single trace, follow steps 1 through 4 below.  When a program is executed 
after completion of the following steps, trace data is sampled.
1) Set an event mode to single trace mode.
2) Enable the trace function.
3) Perform the event and sequencer setup.
4) Perform trace buffer full break setup.
Setting Trace
To perform a single trace, complete the following setup steps.  When a program is executed after completion
of the steps, trace data is sampled.
1) Set an event mode to single trace mode.
Use SET MODE command for this setting.
2) Enable the trace functions.
Enable the trace function using the ENABLE TRACE command.
To disable the trace function, use the DISABLE TRACE command.
Note that the trace function is enabled by default when the program is launched.
3) Perform the event and sequencer setup.
Use of a trace trigger makes it possible to control trace sampling and make effective use of the limited
trace buffer capacity.  If there is no such necessity, setup need not be performed.
With a trace trigger, it is possible to specify the start and stop of trace sampling to be performed at a
trigger hit.
To use a trace trigger, input the SET TRACE/TRIGGER command and then perform trace trigger setup
using the SET TRACETRIGGER command.
4) Perform trace buffer full break setup.
A break can be invoked when the trace buffer becomes full.
To perform setup, use the SET TRACE command.  This break feature is disabled when the program starts.
To view the setting, use SHOW TRACE/STATUS.
Table 2.3-6 lists trace-related commands in the single trace.
Table 2.3-6  Trace-related Commands Available in Single Trace
Available command 
Function 
SET  TRACETRIGGER
CANCEL  TRACETRIGGER
Sets trace  trigger
Deletes trace  trigger 
SET TRACE
SHOW TRACE
SEARCH TRACE
ENABLE TRACE
DISABLE TRACE
CLEAR TRACE
Sets trace  buffer full break
Displays trace  data
Searches for  trace data
Enables trace  function
Disables trace  function
Clears trace  function