
129
CHAPTER 3 CPU MODULE FUNCTIONS
3
3.
20
S
a
mpling T
race
3.20
Sampling Trace
This function samples the data of the specified device at a preset timing and at a preset interval (sampling cycle), and
then stores the trace results in the sampling trace file. In addition, this function can be used to read the device data
upon trigger condition establishment. This function is useful to check the change of the device data used in the
program during debugging at a preset timing.
To collect device data of 50 points or more, use the data logging function. For the data logging function, refer to the
following.
MELSEC-L CPU Module User's Manual (Data Logging Function)
(1) Sampling trace file
This file stores the trace setting necessary for executing the function and trace results. Sampling trace file can be
stored only in the Standard RAM.
(2) Devices that the sampling trace function is applicable
The following devices can be set up to 50 points.
The following modifications are available for the above devices.
• Digit specification of bit device
• Bit specification of word device
• Index modification
(3) Sampling trace operation
(a) Operating of the CPU module
When a sampling trace trigger is issued, the CPU module executes traces for the preset number of times.
*1
When the trigger is issued, the CPU module samples data for the preset number of times and latches the data in the
sampling trace area.
Type
Description
Bit device:
X (DX), Y (DY), M, L, F, SM, V, B, SB, T (contact), T (coil), ST (contact), ST (coil), C (contact), C (coil), FX, FY, BL \S
Word device:
T (current value), ST (current value), C (current value), D, D (extended data register), SD, W, W (extended link register),
SW, R, Z, ZR, FD, U \G
CPU module
Standard RAM
Specified device
data*
1
Sampling trace area
Device
area
File
register
area
1st data
2nd data
3rd data
4th data
5th data
6th data
(n -1) th data
n th data
n -1
1
2
3
4
5
6
1
2
3
4
5
6
n
n
n -1
When data are stored by n th times, the 1st
data are overwritten by the next write data.
Writes data to
a programming
tool.
Sampling trace area
Displays data
by the specified
number of times.
Sampling trace
data monitoring
Programming tool
Содержание L02CPU
Страница 1: ......
Страница 2: ......
Страница 13: ...11 Memo ...
Страница 78: ...76 Memo ...
Страница 226: ...224 Memo ...
Страница 317: ...315 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 318: ...316 To the next page ...
Страница 319: ...317 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 320: ...318 To the next page ...
Страница 321: ...319 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 322: ...320 To the next page ...
Страница 323: ...321 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 324: ...322 To the next page ...
Страница 325: ...323 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 326: ...324 To the next page ...
Страница 335: ...333 Memo ...
Страница 339: ......