Omron CVM1D Operation Manual page 380

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

Data Tracing
Example
0000
00
A008
13
A008
12
The following shows the basic program and operation for data tracing. The Sam-
pling Start Bit starts the sampling. The data is read and stored into trace memory.
When the Trace Start Bit is received, the CPU looks at the delay and marks the
trace memory accordingly. This can mean that some of the samples already
made will be recorded as the trace memory (negative delay), or that more sam-
ples will be made before they are recorded (positive delay). The sampled data is
written to trace memory, jumping to the beginning of the memory area once the
end has been reached and continuing up to the start marker. This might mean
that previously recorded data (i.e., data from this sample that falls before the
start marker) is overwritten (this is especially true if the delay is positive). The
negative delay cannot be such that the required data was executed before sam-
pling was started.
A00815
A00814
No delay
A00813
*Negative
Positive
delay
delay
A00812
A00811
Sampling
Trace memory
A008
Trace Trigger Bit
14
(170)
TRSM
0002
Indicates trace is
00
in progress.
0002
Indicates trace is finished.
01
Sampling
Start tracing
Tracing Flag
Trace Completed Flag
Trace Start Monitor Flag
A00812 turns ON and the
trace is complete when
enough data to fill trace
memory has been sampled.
*Negative delays cannot be such that the
requested data was executed before the
sampling started.
Section 5-32
Address
Instruction
Operands
00000
LD
000000
00001
OUT
A00814
00002
TRSM(170)
00003
LD
A00813
00004
OUT
000200
00005
LD
A00812
00006
OUT
000201
375

Advertisement

Table of Contents
loading

Table of Contents