577
DATE-, DATE-P
1
2
3
4
4
6
7
8
7.15
Clock instr
uct
ions
7.15.4
D
ATE-
, DATE-P
[List Mode]
[Operation]
• Time data read operation triggered by DATERDP instruction.
• Addition triggered by DATE+P instruction.
: Head number of the devices where the clock time data to be adjusted by substraction is stored (BIN 16 bits)
: Head number of the devices where time data to be subtracted for adjustment is stored (BIN 16 bits)
: Head number of the devices where the result of subtraction of clock (time) data will be stored (BIN 16 bits)
F
unct
i
on
(1) Subtracts the time data designated by from the clock data designated by , and stores the result into the area starting
from the device designated by .
For example, if the clock time 3:50:10 were subtracted from the clock time 10:40:20, the operation would be performed
as follows:
DATE-, DATE-P
Clock data subtraction operation
7.15.4
DATE-, DATE-P
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
Step
I
nstruct
i
on
De
vi
ce
Clock element
95
5
15
D1
D2
Year
Day
Month
10
23
41
2
D0
D3
D4
D5
D6
Hour
Minute
Second
Day of
w
eek
Time data
H
our
:
1
M
i
nute
:
0
Second
:
0
D11
D12
H
our
:
11
M
i
nute
:
23
Second
: 4
1
D101
D102
H
our
:
10
M
i
nute
:
23
Second
: 4
1
D
4
D5
+
D100
D10
D3
Basic
Process
High
performance
Redundant Universal
LCPU
Command
DA
TE-
DA
TE-
P
DATE-
Command
DATE-P
S1
S2
D
S1
S2
D
S1
S2
D
S1
S2
D
S2
S1
D
Data
range
Data
range
Data
range
H
our
M
i
nute
Second
+
1
+
2
(0
to
23)
(0
to
59)
(0
to
59)
H
our
M
i
nute
Second
+
1
+
2
(0
to
23)
(0
to
59)
(0
to
59)
H
our
M
i
nute
Second
+
1
+
2
(0
to
23)
(0
to
59)
(0
to
59)
S1
S2
D
D
D
S2
S2
S1
S1
H
our
:
3
M
i
nute
:
50
Second
:
10
+
1
+
2
H
our
:
6
M
i
nute
:
50
Second
:
10
+
1
+
2
H
our
:
10
M
i
nute
: 4
0
Second
:
20
+
1
+
2
S1
S1
S1
D
D
D
S2
S2
S2