Function Block Parameter Structure
Choose the function to perform in the function block.
Communication address of the function’s first input parameter.
Communication address of the function’s second input parameter.
Communication address of the function’s third input parameter.
Output value (Read Only) after performing the function block.
* @ is the step number (1-18).
User Function Operation Condition
Addition operation, (A + B) + C
If the C parameter is 0x0000, it will be recognized as 0.
Subtraction operation, (A - B) – C
If the C parameter is 0x0000, it will be recognized as 0.
Addition andsubtraction compound operation, (A + B) – C
If the C parameter is 0x0000, it will be recognized as 0.
Output the smallest value of the input values, MIN(A, B, C).
If the C parameter is 0x0000, operate only with A, B.
Output the largest value of the input values, MAX(A, B, C).
If the C parameter is 0x0000, operate only with A, B.
Output the absolute value of the A parameter, | A |.
This operation does not use the B, or C parameter.
Output the negative value of the A parameter, -( A ).
This operation does not use the B, or C parameter.
Remainder operation of A and B, A % B
This operation does not use the C parameter.
Multiplication, division compound operation, (A x B)/C.
If the C parameter is 0x0000, output the multiplication operation of
(A x B).
COMPARE-GT
(greater than)
Comparison operation: if (A > B) the output is C; if (A </=B) the
output is 0.
If the condition is met, the output parameter is C. If the condition is
not met, the output is 0(False). If the C parameter is 0x0000 and if
the condition is met, the output is 1(True).
Comparison operation; if (A >/= B) output is C; if (A<B) the output
is 0.
If the condition is met, the output parameter is C. If the condition is
not met, the output is 0(False). If the C parameter is 0x0000 and if
the condition is met, the output is 1(True).
Comparison operation, if(A == B) then the output is C. For all other
values the output is 0.
If the condition is met, the output parameter is C. if the condition is
not met, the output is 0(False). If the C parameter is 0x0000 and if
the condition is met, the output is 1(True).