Fujitsu softune f2 mc-16 Manuel D’Utilisation

Page de 354
258
CHAPTER 2  DEPENDENCE FUNCTIONS
2.5.6.1
Setting Trace
To perform a trace, follow steps (1) to (3) below. When a program is executed after 
completion of the following steps, trace data is sampled.
(1)  Enable the trace function.
(2)  The event and the sequencer are set.
(3)  Perform trace buffer full break setup.
Setting Trace
To perform a trace, complete the following setup steps. When a program is executed after completion of the
steps, trace data is sampled.
1)  Enable the trace function.
Enable the trace function using the ENABLE TRACE command.
To disable the trace function, use the DISABLE TRACE command.
The trace function is enabled by default when the program is launched.
2) Set up the event and the sequencer.
Use of the trace trigger allows control of the trace sampling, making full use of the limited-size trace
buffer. Such setups should be performed on a necessary base.
The trace trigger can specify the start/stop of trace sampling with the trigger hit as the reason.
When the trace trigger is used, setup is performed by inputting the SET TRACE/TRIGGER command.
3)  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.5-4 shows trace related commands in single trace.
Table 2.5-4  Trace Related Commands in Single Trace
Available command
Function
SET TRACETRIGGER
Sets up the trace trigger
CANCEL TRACETRIGGER
Deletes the trace trigger
SHOW TRACETRIGGER
Displays the trace trigger
SET TRACE
Sets trace buffer full break
SHOW TRACE
Displays trace data
SEARCH TRACE
Searches for trace data
ENABLE TRACE
Enables trace function
DISABLE TRACE
Disables trace function
CLEAR TRACE
Clears trace function