![Omron CJ1G-CPU series Programming Manual Download Page 156](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489156.webp)
135
Debugging Instructions
Section 3-27
3-27 Debugging Instructions
HOURS TO
SECONDS
SEC
@SEC
065
Output
Required
SECONDS TO
HOURS
HMS
@HMS
066
Output
Required
CLOCK
ADJUSTMENT
DATE
@DATE
735
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
TRACE
MEMORY
SAMPLING
TRSM
045
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.
Output
Not required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
S: 1st source
word
D: 1st destination
word
SEC(065)
S
D
Minutes Seconds
Hours
Seconds
Converts time data in hours/minutes/seconds format to an equivalent time in
seconds only.
S:
1st source
word
D
: 1st destination
word
HMS(066)
S
D
Minutes Seconds
Hours
Seconds
Converts seconds data to an equivalent time in hours/minutes/seconds
format.
S: 1st source
word
DATE(735)
S
CPU Unit
Internal clock
New
setting
Minutes Seconds
Day Hour
Year Month
00
Day of week
Changes the internal clock setting to the setting in the specified source words.
TRSM(045)
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...