Download High Performance Model QCPU(Q Mode)User`s Manual(Function

Transcript
7 FUNCTION
MELSEC-Q
7.12 Sampling Trace Function
POINT
(1) Because the trace data and trace results are stored in the SRAM card
(Q2MEM-1MBS) during sampling trace, the SRAM card is necessary.
After installing the SRAM card to the High Performance model QCPU, execute
sampling trace.
(2) Because the trace data and trace results are not stored in the flash card and
ATA card, sampling trace is not executed if the flash card (Q2MEM-2MBF,
Q2MEM-4MBF) or ATA card (Q2MEM-8MBA, Q2MEM-16MBA, Q2MEM32MBA) is installed.
(1) What is Sampling Trace Function?
(a)
This is a function to sample the device continuously on the High
Performance model QCPU at specified timings.
(b)
The changes in the details of the device that program uses during
debugging can be checked in the specified timing.
The sampling trace function allows the read of device details if trigger
conditions are satisfied.
(c)
The sampling trace samples the details of the specified device in a set
interval (sampling cycle), and stores the trace results to 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 with
the GX Developer, the trace is performed for the number of times set.
The sampling trace area is 60 k bytes.
The number of traces can be obtained by dividing 60 k bytes by the number
of bytes specified as a device. The formula is: (Number of Bit Devices) / 8 +
2 (Number of Word Devices)
High Performance model QCPU
GX Developer
Memory card
Specified Sampling trace area
device data
Device
area
File
register
area
1
2
3
4
5
6
Data for 1st time
Data for 2nd time
Data for 3rd time
Data for 4th time
Data for 5th time
Data for 6th time
n-1 Data for (n-1)th time
n Data for n th time
Sampling trace area
Read to the
peripheral
device
1
2
3
4
5
6
Displays the
data for the
specified
amount
Sampling trace
data monitoring
n-1
n
When stored for n th time, the next
data overwrites the 1st time data.
If the trigger point is executed, the sampling trace area data is latched after sampling the number of times specified.
Fig. 7.8 Sampling Trace Operation
7 - 45
7 - 45