596
Trial Operation and Debugging
Section 10-2
10-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 Sysmac CP1H
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 76: ...42 Function Blocks Section 1 5...
Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Page 372: ...338 Analog I O XA CPU Units Section 5 5...
Page 578: ...544 Trouble Shooting Section 8 7...
Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 668: ...634 Standard Models Appendix A...
Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Page 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Page 808: ...774 Revision History...
Page 809: ......