FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
24-3
24: C
LOCK
I
NSTRUCTIONS
Examples: TADD
The following examples demonstrate the TADD instruction to add time data in two different modes.
Mode 0
Mode 1
I0
D1
D20
S1
D0
S2
D10
TADD
0
Source 1
9
D0
(Hour)
30
D1 (Minute)
40
D2 (Second)
Source 2
5
D10
(Hour)
10
D11 (Minute)
5
D12 (Second)
+
Destination 1
14
D20
(Hour)
40
D21 (Minute)
45
D22 (Second)
When the result exceeds 23:59:59, the resultant hour data is subtracted by 24, turning on special internal relay M8003 (carry).
Source 1
15
D0
(Hour)
50
D1 (Minute)
40
D2 (Second)
Source 2
10
D10
(Hour)
20
D11 (Minute)
30
D12 (Second)
+
Destination 1
2
D20
(Hour)
11
D21 (Minute)
10
D22 (Second)
SOTU
I0
D1
D200
S1
D8008
S2
D100
TADD
1
Source 2
10
D100
(Hour)
15
D101 (Minute)
25
D102 (Second)
Source 1
7
D8008
(Year)
8
D8009
(Month)
23
D8010
(Day)
+
Destination 1
10
D8012
(Hour)
20
D8013 (Minute)
30
D8014 (Second)
D8011
(Note)
7
D200
(Year)
8
D201
(Month)
23
D202
(Day)
20
D204
(Hour)
35
D205 (Minute)
55
D206 (Second)
4
D203 (D of W)
Note:
D8011 in source 1 is not used for execution and need not be designated. The day of week is calculated automatically from the resultant
year, month, and day, and stored to D203 of destination 1.
4
(D of W)
SOTU
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...