8 - 26
8. DEBUGGING FUNCTION
(c) The sampling trace file stores the trace condition data and trace execution data
required to execute the sampling trace. Once a GPP function starts tracing, the
number of set tracing times are executed.
(d) The trace results show the ON/OFF statuses of bit devices, and current values of
word devices, for each sampling cycle.
NOTE
While the CPU module is STOP, trace is stopped. The trace result cannot be read.
Fig. 8.1 Sampling trace operation
Memory card
*
1
2
3
4
5
6
n-1
n
1
2
3
4
5
6
n-1
n
Reading to
peripheral
device
When "n" data has been stored, the
existing data is overwritten starting
from the 1st data area.
When the trigger point is executed, sampling is performed for the designated number of times and then
the data of the sampling trace area is latched.
Peripheral device capable
of GPP functions
Sampling trace area
Data of
designated
device
Device
area
File
register
area
Sampling trace area
Data of
designated
number of
traces is
displayed.
Monitoring of
sampling trace
data
CPU module
1st data
2nd data
3rd data
4th data
5th data
6th data
(n–1)th data
nth data
*