EasyManua.ls Logo

Thinget XC3-24RT-E - Page 202

Default Icon
283 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Applied Instructions
D10 (Hour)
D11 (Minute)
D12 (Second)
D20 (Hour)
D21 (Minute)
D22 (Second)
D30 (Hour)
D31 (Minute)
D32 (Second)
+
S1 S2
D
10 hour 20 min. 30 sec.
3 hour 20 min. 10 sec.
13 hour 40 min. 40 sec.
18 (Hour)
10 (Minute)
30 (Second)
10 (Hour)
20 (Minute)
5 (Second)
4 (Hour)
30 (Minute)
35 (Second)
+
S1 S2
D
18 hour 10 min. 30 sec.
3 hour 20 min. 10 sec.
4 hour 30 min. 35 sec.
Function & Action
z Each of S1, S2 and D specify the head address of 3 data devices to be used a time value.
The time value in S1 is added to the value in S2, the result is stored to D as a new time
value.
z If the addition of the two times re a value greater than 24 hours, the value of the
result is the time remaining abov urs. When this happens the M8022 is
sults in
e 24 ho carry flag
z When the result is 00 Hour 0 Minute 0 SecondSet zero fla
g
ON.
The valid range of “Hour” is0~23.
The valid range of “Minute” is0~59.
The valid range of “Second” is0~59.
(D10, D11, D12)+(D20, D21, D22)→(D30, D31, D32
TADD
D10
D20
D30
X0
S1·
S2·
[TADD]
16 bits instructionDIV 32 bits instructionDDIV
Suitable Models
XC3XC5
¾
Word
Device
Bit
Device
D
FD
DM
DX
DY
DS
TD
CD
K/H
S1·
S2·
X
Y
M
S
T
C
Dn.m
202

Table of Contents

Related product manuals