EasyManua.ls Logo

Mitsubishi Q02HCPU - Sampling Trace Function

Mitsubishi Q02HCPU
692 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6
FUNCTIONS
6.14 Sampling Trace Function
6
- 80
1
Overview
2
Performance
Specification
3
Sequence Program
Configuration and
Execution Conditions
4
I/O Nunber Assignment
5
Memories and Files
Handled by CPU Module
6
Functions
7
Communication with
Intelligent Function
Module
8
Parameters
6.14 Sampling Trace FunctionNote33
(1) Definition of Sampling Trace Function?Note34
This function samples the device continuously on the High Performance model QCPU
at specified timings.
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.
(2) Applications of sampling trace
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.
(3) Sampling trace operation
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.
Note33
Note34
Diagram 6.50 Sampling trace operation
The Basic model QCPU does not support the sampling trace function.
Basic
Note6.33
Basic
Note6.33
CPU module
Device
area
File
register
area
Memory card
Specified
device data
2
Data for 1st time
Data for 2nd time
Data for 3rd time
Data for 4th time
Data for 5th time
Data for 6th time
Sampling trace area
n-1
n
Data for (n-1)th time
Data for n th time
When stored for n th time, the next
data overwrites the 1st time data.
Read to the
peripheral
device
Sampling trace area
1
2
3
4
5
6
n-1
n
GX Developer
Displays the
data for the
specified
amount
2: If the trigger point is executed, the sampling trace area data is latched after sampling as many times as specified.
1
2
3
4
5
6
*
Sampling trace
data monitoring

Table of Contents

Other manuals for Mitsubishi Q02HCPU

Related product manuals