7 - 47 7 - 47
MELSEC-Q
7 FUNCTION
7.12 Sampling Trace Function
POINT
(1) The SRAM card (Q2MEM-1MBS, Q2MEM-2MBS) is required to store the trace
data and trace results.
After mounting the SRAM card to the High Performance model QCPU, execute
sampling trace.
(2) Sampling trace is not executed if the Flash card (Q2MEM-2MBF, Q2MEM-
4MBF) or ATA card (Q2MEM-8MBA, Q2MEM-16MBA, Q2MEM-32MBA) is
installed, because the cards cannot store the trace data and trace results.
(1) What is Sampling Trace Function?
(a) This function samples the device continuously on the High Performance
model QCPU at specified timings.
(b) The changed contents of the device that program uses during debugging
can be checked at the specified timing.
The sampling trace function reads device contents if trigger conditions are
satisfied.
(c) The sampling trace samples the contents of the specified device at a set
interval (sampling cycle), and stores the trace results at the sampling trace
file in the memory card.
(d) The sampling trace file stores the trace condition data and trace execution
data necessary to perform the sampling trace. When trace is started by
using GX Developer, the trace is performed as many times as specified.
The sampling trace area is 60 kbyte.
The number of traces can be obtained by dividing 60 kbyte by the number
of bytes specified as a device. The experssion is: (Number of Bit Devices) /
8 + 2 (Number of Word Devices)
1
1: Round up result of "(number of Bit Devices)/8" in the expression to the
right of the decimal point.
Memory card
Specified
device data
Sampling trace area
Data for 1st time
Data for 2nd time
Data for 3rd time
Data for 4th time
Data for 5th time
Data for 6th time
Data for (n-1)th time
Data for n th time
1
2
3
4
5
6
n-1
n
When stored for n th time, the next
data overwrites the 1st time data.
Read to the
peripheral
device
1
2
3
4
5
6
n-1
n
Sampling trace area
Sampling trace
data monitoring
Displays the
data for the
specified
amount
Device
area
File
register
area
High Performance model QCPU
GX Developer
If the trigger point is executed, the sampling trace area data is latched after sampling as many times as specified.
Fig. 7.8 Sampling Trace Operation
Содержание QCPU (Q Mode)
Страница 111: ...5 19 5 19 MELSEC Q 5 ASSIGNMENT OF I O NUMBERS MEMO ...
Страница 450: ...App 59 App 59 MELSEC Q APPENDICES MEMO ...