
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
Trace 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)
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...