EasyManuals Logo

Mitsubishi FX1S Series User Manual

Mitsubishi FX1S Series
466 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #297 background imageLoading...
Page #297 background image
FX Series Programmable Controlers Applied Instructions 5
5-177
5.14.3 TADD (FNC 162)
Contents:
Each of S
1,S2 and D specify the head address of 3
data devices to be used a time value.
ThetimevalueinS
1 is added to the time value in
S
2, the result is stored to D as a new time value.
Points to note:
a) The addition is performed according to standard time values. Hours, minutes and seconds
are kept within correct limits. Any overflow is correctly processed.
b) If the addition of the two times results in a value greater than 24 hours, the value of the
result is the time remaining above 24 hours.
When this happens the carry flag M8022 is set ON.
c) If the addition of the two times results in a value of zero (0:00:00: 0 hours, 0 minutes, 0
seconds) then the zero flag M8020 is set ON.
d) The same device may be used as a source (S1 or S2) and destination device. In this case
the addition is continually executed; the destination value changing each program scan. To
prevent this from happening, use the pulse modifier or an interlock program.
Mnemonic Function
Operands
Program steps
S
1 S2 D
TADD
FNC 162
(Time
Addition)
Adds two time
values together to
give a new time
T, C, D
Note: 3 consecutive devices are used to represent
hours, minutes and seconds respectively.
TADD,
TADDP:
7steps
FX
1S
FX1N FX2N
FX2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
Flags
Zero M8020
Carry M8022
D10 D20 D30
TSUB
X13
[ S1 ] [ S2 ] [ D ]
D10: 10 hours
D11: 30 mins
D12: 27 secs
10:30:29
S
1
+
D20: 30 hours
D21: 10 mins
D22: 49 secs
03:10:49
S
2
=
D30: 13 hours
D31: 41 mins
D32: 16 secs
13:41:16
D
D10: 10 hours
D11: 17 mins
D12: 29 secs
10:17:29
S
1
+
D20: 18 hours
D21: 12 mins
D22: 34 secs
18:12:34
S
2
=
D30: 13 hours
D31: 41 mins
D32: 16 secs
04:30:03
D
M8022 ON

Table of Contents

Other manuals for Mitsubishi FX1S Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX1S Series and is the answer not in the manual?

Mitsubishi FX1S Series Specifications

General IconGeneral
ModelFX1S Series
I/O Points10 to 30 points
Program Memory2000 steps
Power SupplyAC
CommunicationRS-422
ExpansionNo expansion
Programming LanguageLadder Logic
Input Voltage100-240V AC
Built-in High-Speed CounterUp to 60 kHz (single-phase)
WeightApprox. 0.3 kg
Dimensions90 x 60 x 75 mm

Related product manuals