2 Instructions
2-380 CP1E CPU Unit Instructions Reference Manual(W483)
Clock Instructions

CADD/CSUB

Applicable Program Areas
Operands
Instruction Mnemonic Variations Function
code Function
CALENDAR ADD CADD @CADD 730 Adds time to the calendar data in the specified
words.
CALENDAR SUBTRACT CSUB @CSUB 731 Subtracts time from the calendar data in the spec-
ified words.
Symbol
CADD CSUB
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
C First calendar word WORD 3
T First time word DWORD 2
R First result word WORD 3
C: First calendar word
T: First time word
R: First result word
CADD(730)
C
T
R
C: First calendar word
T: First time word
R: First result word
CSUB(731)
C
T
R