UM353-1B Function Blocks
April 2012
3-89
3.2.87 SUB_ - Subtraction
SUB_ function blocks perform arithmetic subtraction on
the two input signals. Any unused input will be set to 0.0.
All inputs should have the same engineering units. If units
are not consistent, a SCL function block can be used or an
alternative is to use a MTH function block that has built-in
scaling functions.
BLOCK DIAGRAM
O1
+
-
A
B
Input
A
Input
B
O
utput
1
.
.
Rev 2
3.2.88 TAN_ - TANGENT
TAN__ function blocks accept a radian input and output the
tangent of that angle.
Input
X
TANGENT
O1
O
utput
1
O1 = TAN (X)
TAN
ESN =
000
X
E
E
xec.
S
eq.
N
o. ..................... 000 to 250 (000)
X
T
U
P
N
I
INPUT X
..............
loop tag.block tag.output (null)
SN
BLOCK DIAGRAM
O1X
Input
X
O
utput
1
.
.
TAN (X)
Input
A
SUBTRACTION
O1
O
utput
1
SUBTRACTION
SUB_
ESN =
000
A
E
E
xec.
S
eq.
N
o.
(H)
................ 001 to 250
B
T
U
P
N
I
INPUT B
(H)
..........
loop tag.block tag.output (null)
Input
B
B
A
T
U
P
N
I
SN
INPUT A
(H)
..........
loop tag.block tag.output (null)