470
Trial Operation and Debugging
Section 8-2
8-2-4
Tracing Data
The Data Trace function samples specified I/O memory data using any one of
the following timing methods. It stores the sampled data in Trace Memory,
where they can be read and checked later from the CX-Programmer.
• Specified sampling time (10 to 2,550 ms in 10-ms units)
• One sample per cycle
• When the TRACE MEMORY SAMPLING instruction (TRSM(045)) is exe-
cuted
Up to 31 bits and 6 words in I/O memory can be specified for sampling.
Basic Procedure
1,2,3...
1.
Sampling will start when the parameters have been set from the CX-Pro-
grammer and the command to start tracing has been executed.
2.
Sampled data (after step 1 above) will be traced when the trace trigger
condition is met, and the data just after the delay (see note 1) will be stored
in Trace Memory.
3.
Memory data will be sampled until the Trace Memory is full, and then the
trace will be ended.
Note
Delay value: Specifies how many sampling periods to offset the sampling in
Trace Memory from when the trace condition is met. The setting ranges are
shown in the following table.
Positive delay: Store data delayed by the set delay.
Negative delay: Store previous data according go to the set delay.
Example:
Sampling at 10 ms with a –30 ms delay time yields –30 x 10 =
300 ms, so data 300 ms before the trigger will be stored.
Online Editing Wait Flag
A201.10
ON while an online editing process is on standby because online editing
is disabled.
Online Editing Processing Flag
A201.11
ON while an online editing process is being executed.
Name
Address
Description
No. of words
sampled
Setting range
0
–1999 to 2000
1
–1332 to 1333
2
–999 to 1000
3
–799 to 800
4
–665 to 666
5
–570 to 571
6
–499 to 500
Summary of Contents for CP1L - 12-2007
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 428: ...395 Clock Section 6 9...
Page 429: ...396 Clock Section 6 9...
Page 523: ...488 Troubleshooting Unit Errors Section 9 4...
Page 531: ...496 Replacing User serviceable Parts Section 10 2...
Page 563: ...528 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...576 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...604 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...634 Index...
Page 671: ...636 Revision History...