5.3 Description of Function Codes 5.3.10 U codes (Customizable logic operation)
[Input: digital, analog] Block function code setting
Block selection, function 1, function 2 (U01, U04, U05, etc.)(Analog)
The following items are available as operation circuits and logic circuits.
Note that if the upper and lower limits have the same value, there are no upper and lower limits.
Block
selection
(U01 etc.)
Function 1, Function 2
(U04, U05, etc.)
When input 2 (digital input) is
“1”, input 1 (analog input) is
output as is. When input 2 is 0,
the output value is held.
This function has output
limiters (upper/lower) specified
with two function codes.
The 1st function code provides
upper limit value and the 2nd
one provides lower limit value.
Output
Input 1
Input 2
= 0
1
U04
U05
Function 1: Upper limit
value
Function 2: Lower limit
value
4002
Inverting
adder
Switching
When input 2 (digital input) is 1,
the function 1 setting value is
subtracted from input 1 (analog
input), the polarity is reversed,
and the function 2 setting value
is added and output. When
input 2 is 0, input 1 is output as
is. Output involves limiter
processing in the -9990 to
+9990 range.
Output
Input 1
Input 2
= 0
1
-1
×
U04
+
-
U05
+
+
Function 1: Subtraction
value (former)
Function 2: Addition
value (latter)
When input 2 (digital input) is 1,
the function 1 setting value is
output. When input 2 is 0, input
1 (analog input) is output.
OutputInput 1
Input 2
= 0
= 1
U04
Function 1: Setting value
Function 2: Not required
When input 2 (digital input) is 0,
the function 1 setting value is
output. When input 2 is 1, the
function 2 setting value is
output.
OutputInput 1
Input 2
= 0
1
U05
U04
Function 1: Setting value
1
Function 2: Setting value
2
4005
LPF (Low
pass filter)
When input 2 (digital input) is
“1”, the value obtained by
performing LPF is output to
input 1 (analog input). When
input 2 is “0”, input 1 is output
as is. The LPF circuit maintains
the previous output value.
Therefore, when the digital 2
input changes from 0 to 1, the
output will be the value with the
previous output value added as
the initial value of LPF.
There is no upper/lower limiter.
U04
Output
Input 1
Input 2
=0
0
LPF
Function 1: Time
constant
0: No filter
0.01 to 5.00 s
Function 2: Fixed at 0