![Omron CJ1G-CPUxx Instructions Manual Download Page 951](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491951.webp)
930
Debugging Instructions
Section 3-29
Flags
Precautions
An error will not be generated even if the internal clock is set to a non-existent
date (such as November 31).
Examples
When CIO 000000 turns ON in the following example, the internal clock is set
to 20:15:30 on Thursday, October 9, 1998.
3-29 Debugging Instructions
3-29-1 Trace Memory Sampling: TRSM(045)
Purpose
When TRSM(045) is executed, the status of a preselected bit or word is sam-
pled and stored in Trace Memory. TRSM(045) can be used anywhere in the
program, any number of times.
Ladder Symbol
Variations
Applicable Program Areas
Description
Before TRSM(045) is executed, the bit or word to be traced must be specified
with a Peripheral Device. Each time that TRSM(045) is executed, the current
value of the specified bit or word is sampled and recorded in order in Trace
Name
Label
Operation
Error Flag
ER
ON if the new clock setting in S through S+3 isn’t within
the specified range.
OFF in all other cases.
S:
Minute
Second
Day of
the month
Hour
Year
Month
Always
set to
00.
Day of the week
TRSM(045)
Variations
Executed Each Cycle
TRSM(045)
Executed Once for Upward Differentiation
Not supported
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...