Appendices
A-56
CP2E CPU Unit Software User’s Manual(W614)
A-1-23
Clock Instructions
Instruction
Mnemonic
Variations
Symbol/Operand
Function
CALENDAR
ADD
CADD
@
Adds time to the calendar data in the specified words.
CALENDAR
SUBTRACT
CSUB
@
Subtracts time from the calendar data in the specified words.
CLOCK
ADJUSTMENT
DATE
@
Changes the internal clock setting to the setting in the specified
source words.
C
: 1st calendar word
T
: 1st time word
R
: 1st result word
CADD(730)
C
T
R
C+1
C
15
8
7
0
15
8
7
0
15
8
7
0
C+2
T+1
T
R+1
R
R+2
+
Hours
Minutes
Seconds
Minutes
Seconds
Day
Hour
Year
Month
Minutes
Seconds
Day
Hour
Year
Month
C
: 1st calendar word
T
: 1st time word
R
: 1st result word
CSUB(731)
C
T
R
15
8
7
0
15
8
7
0
15
8
7
0
Hours
Minutes
Minutes
Seconds
Seconds
Day
Hour
Year
Month
Minutes
Seconds
Day
Hour
Year
Month
C+1
C
C+2
T+1
T
R+1
R
R+2
−
S
DATE(735)
S
: 1st source word
CPU Unit
Internal clock
New
setting
Minutes
Day
Year
00
Seconds
Hour
Month
Day of week
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......