5.3 Description of Function Codes 5.3.10 U codes (Customizable logic operation)
The block diagrams for each operation circuit are given below. The setting value for functions 1 and 2 is indicated
with U04 and U05
(2001) Adder (2002) Subtracter (2003) Multiplier
Output
Input 1
Input 2
+
+
U04
U05
Output
Input 1
Input 2
-
+
U04
U05
Output
Input 1
Input 2
U04
U05
×
(2004) Divider (2005) Limiter (2006) Absolute value of inputs
Output
Input 1
Input 2
U04
U05
÷
Output
Input 1
Input 2
U04
U05
Output
Input 1
Input 2
Absolute
value
Operation
U04
U05
(2007) Inverting adder (2008) Variable limiter (2009) Linear function
Output
Input 1
Input 2
+
‒
U04 -1
×
U05
+
+
(2010) Remainder (2051) Comparator 1 (2052) Comparator 2
Output
Input 1
Input 2
With Input 1-Input 2 ≥ U04+|U05|
Output ON
With Input 1-Input 2 ≤ U04-|U05|
Output OFF
Output
Input 1
Input 2
With Input 1-Input 2 > U04+|U05|
Output ON
With Input 1-Input 2 < U04-|U05|
Output OFF
ON is prioritized when both conditions
are satisfied.
(2053) Comparator 3 (2054) Comparator 4 (2055) Comparator 5
Output
Input 1
Input 2
|With Input 1-Input 2| ≥ U04+|U05|
Output ON
|With Input 1-Input 2| ≤ U04-|U05|
Output OFF
Output
Input 1
Output ON when Input 1 ≥ U04
Output OFF when Input 1 < U04 – |U05|
U04
ON is prioritized when both conditions are satisfied.
Out
In
1
In
2
KA×入力1+KB
U04 U05
|With Input 1-Input 2| > U04+|U05|
Output ON
|With Input 1-Input 2| < U04-|U05|
Output OFF