![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262516.webp)
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
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......