Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 968

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Debugging Instructions
Precautions
Example
Operated from CX-Programmer
(Sampling Start Bit: A508.15)
Trace Start Bit: A508.14
Trace Busy Flag: A508.13
Trace Completed Flag: A508.12
Trace Trigger Monitor Flag: A508.11
See note.
Note
TRSM(045) is processed as NOP(000) when data tracing is not being per-
formed or when the sampling interval set in the parameters with the CX-Pro-
grammer is not set to sample on TRSM(045) instruction execution.
Do not turn the Sampling Start Bit (A508.15) ON or OFF from the program.
This bit must be turned ON and OFF from the CX-Programmer.
The following example shows the overall data trace operation.
Delay
setting
Sampling
Example: word data
Trace Memory
Valid from here on
Trace Memory has a ring structure. Data is stored to the end of the Trace
Memory area and then wraps to the beginning of the area, ending just before
the first valid data sample.
Valid
Trace ends when
samples
Trace Memory is full.
: Execution of TRSM(045)
Section 3-27
935

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents