Omron CS1G/H-CPUxxH Instructions Manual page 954

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Debugging Instructions
Precautions
Example
Operated from Peripheral Device
(Sampling Start Bit: A50815)
Trace Start Bit: A50814
Trace Busy Flag: A50813
Trace Completed Flag: A50812
Trace Trigger Monitor Flag: A50811
See 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 a Peripheral
Device is not set to sample on TRSM(045) instruction execution.
Do not turn the Sampling Start Bit (A50815) ON or OFF from the program.
This bit must be turned ON and OFF from a Peripheral Device.
The following example shows the overall data trace operation.
Sampling
Example: word data
Trace Memory
Valid from here on
Note 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
Delay
Trace ends when
setting
samples
Trace Memory is full.
: Execution of TRSM(045)
Section 3-29
933

Advertisement

Table of Contents
loading

Table of Contents