456
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.
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 CP1H-CPU - 05-2006
Page 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...
Page 3: ...iv...
Page 11: ...xii TABLE OF CONTENTS...
Page 15: ...xvi...
Page 19: ...xx...
Page 31: ...xxxii Conformance to EC Directives 6...
Page 71: ...40 Function Blocks Section 1 5...
Page 133: ...102 Computing the Cycle Time Section 2 7...
Page 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...
Page 411: ...380 Clock Section 6 8...
Page 519: ...488 Replacing User serviceable Parts Section 10 2...
Page 527: ...496 Standard Models Appendix A...
Page 535: ...504 Dimensions Diagrams Appendix B...
Page 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 629: ...598 Connections to Serial Communications Option Boards Appendix F...
Page 659: ...628 PLC Setup Appendix G...
Page 665: ...634 Index work words 159 write protection 370...
Page 667: ...636 Revision History...