185/240
20.3.21
Subtractor details
20.3.21.1
Behaviour
The module subtracts the value of the
Input 1
from the value of the
Input 0
and outputs the re-
sult on the
Output 0
(
Input 0
-
Input 1
=
Output 0
).
If necessary, incoming values are converted into the internal data type of the module before the
subtraction (see conversion table below). Thus, observe the selection of a correct internal data
type!
The comparison is dependent on the internal data type of the module and is executed in the fol-
lowing way:
Internal data type Procedure
Example
Number
Mathematical addition 3 - 2
= 1
Time
Calendrical addition 16:40 - 01:10
= 15:30
Date
Calendrical addition 08.02.2009 - 03.00.0000 = 05.02.2009
20.3.21.2
Extended settings
Via the
Internal data type
parameter, you can specify the internal data type of
the module.
Via the
Only send with change
parameter, you can specify whether an output
value shall only be sent if the result of the calculation is different to the previ-
ously calculated result.
20.3.21.3
Conversion table
Boolean
(converted)
Number
(converted)
DPTTime
(converted)
DPTDate
(converted)
String
(converted)
Boolean ---
true
false
→
→
1
0
every va-
lue
--
-
Current
time
Current
date
true
false
→
→
"1"
"0"
Number 0
→
true ---
every va-
→
Time of
Date, if
Text analo-
Summary of Contents for Busch-ComfortTouch
Page 1: ...Product manual Busch ComfortTouch Busch ComfortTouch www BUSCH JAEGER de ...
Page 16: ...16 240 ...
Page 147: ...147 240 03_03_09_00_EN html Logikbausteine ...
Page 155: ...155 240 03_03_09_00_EN html Logikbausteine 03_03_09_00_EN html Boolean ...
Page 217: ...217 240 03_03_09_00_EN html weitere_math 03_03_09_00_EN html weitere_math ...
Page 226: ...226 240 03_03_09_00_EN html Signalkontrolle ...