![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681166.webp)
1127
Clock Instructions
Section 3-28
3-28-2 CALENDAR SUBTRACT: CSUB(731)
Purpose
Subtracts time from the calendar data in the specified words.
Ladder Symbol
Variations
Applicable Program Areas
Operands
C through C+2: Calendar Data
Set the calendar data in C through C+2 as shown in the following diagram.
C through C+2 must be in the same data area.
CSUB(731)
C
T
R
C
: First calendar word
T
: First time word
R
: First result word
Variations
Executed Each Cycle for ON Condition
CSUB(731)
Executed Once for Upward Differentiation
@CSUB(731)
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
15
8
0
7
C
15
8
0
7
C+1
15
8
0
7
C+2
Minutes: 00 to 59 (BCD)
Seconds: 00 to 59 (BCD)
Day: 01 to 31 (BCD)
Hour: 00 to 23 (BCD)
Year: 00 to 99 (BCD)
Month: 01 to 12 (BCD)
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...