70
2 INSTRUCTION TABLES
2.5 Application Instructions
Clock instructions
Category Instruction
symbol
Symbol Processing details Execution
condition
Number
of basic
steps
Subset Reference
Read/write
clock data
DATERD 2 Page 683
DATERDP
DATEWR 2 Page 685
DATEWRP
Clock data
addition/
subtraction
DATE+ 4 Page 687
DATE+P
DATE- 4 Page 689
DATE-P
Clock data
translation
SECOND 3 Page 691
SECONDP
HOUR 3 Page 693
HOURP
Hour meter HOURM • While the execution
specification is on, the current
value is stored in increments
of hour in the device
designated by (D1) and the
current value less than an
hour is stored in increments of
second in the device
designated by (D1)+1.
• The device designated by
(D2) turns on when the
cumulative ON time of the
execution command exceeds
the time designated by (S).
4 Page 695
DHOURM • While the execution
specification is on, the current
value is stored in increments
of hour in the devices
designated by (D1), (D1)+1
and the current value less
than an hour is stored in
increments of second in the
device designated by (D1)+2.
• The device designated by
(D2) turns on when the
cumulative ON time of the
execution command exceeds
the time designated by (S).
4 Page 696
DATERD D
(Clock elements) (D)+0
Year
Month
Day
Hour
Sec.
Day of the week
+1
+2
+3
+4
+5
+6
Minute
DATERDP D
DATEWR S
(D)+0
Year
Month
Day
Hour
Sec.
Day of the week
+1
+2
+3
+4
+5
+6
(Clock elements)
Minute
(S1)
Hour
Sec.
(S2)
Hour
Sec.
(D)
Hour
Sec.
+
Minute Minute Minute
(S1)
Hour
Sec.
(S2)
Hour
Sec.
(D)
Hour
Sec.
Minute Minute Minute
(D)
Sec. (Lower 16 bits)
Sec. (Upper 16 bits)
(S)
Hour
Minute
Sec.
(S)
Hour
Sec.
(D)
Minute
Sec. (Lower 16 bits)
Sec. (Upper 16 bits)
HOURM D2SD1
DHOURM D2SD1