EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1139
Debugging Instructions Section 3-29
Precautions 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.
Example The following example shows the overall data trace operation.
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.
Trace Start Bit A50814 The trace trigger conditions are established when
this bit is turned from OFF to ON. Samples will be
recorded after the specified delay (positive delay)
or the specified number of existing samples will
be valid (negative delay).
Sampling Start Bit A50815 When this bit is turned from OFF to ON from a
Peripheral Device, data samples will start being
stored in Trace Memory with one of the following
three methods used to determine sampling:
1) Periodic sampling (10 to 2,550 ms intervals)
2) Sampling at TRSM(045) execution
3) Sampling at the end of each cycle
This bit must be turned ON and OFF from a
Peripheral Device.
Name Address Operation
Sampling
Operated from Peripheral Device
(Sampling Start Bit: A50815)
Trace Start Bit: A50814
Trace Busy Flag: A50813
Trace Completed Flag: A50812
T
race Trigger Monitor Flag: A50811
Example: word data
Trace Memory
See note.
Valid from here on
Delay
setting
Valid
samples
Trace ends when
Trace Memory is full.
: Execution of TRSM(045)

Table of Contents

Related product manuals