EasyManuals Logo

LSIS LSLV-S100 User Manual

LSIS LSLV-S100
469 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #168 background imageLoading...
Page #168 background image
154
Learning Basic Features
Function Block Parameter Structure
Type
Description
User Func @*
Choose the function to perform in the function block.
User Input @-A
Communication address of the functions first input parameter.
User Input @-B
Communication address of the functions second input parameter.
User Input @-C
Communication address of the functions third input parameter.
User Output @
Output value (Read Only) after performing the function block.
* @ is the step number (1-18).
User Function Operation Condition
Number
Type
Description
0
NOP
No Operation.
1
ADD
Addition operation, (A + B) + C
If the C parameter is 0x0000, it will be recognized as 0.
2
SUB
Subtraction operation, (A - B) C
If the C parameter is 0x0000, it will be recognized as 0.
3
ADDSUB
Addition andsubtraction compound operation, (A + B) C
If the C parameter is 0x0000, it will be recognized as 0.
4
MIN
Output the smallest value of the input values, MIN(A, B, C).
If the C parameter is 0x0000, operate only with A, B.
5
MAX
Output the largest value of the input values, MAX(A, B, C).
If the C parameter is 0x0000, operate only with A, B.
6
ABS
Output the absolute value of the A parameter, | A |.
This operation does not use the B, or C parameter.
7
NEGATE
Output the negative value of the A parameter, -( A ).
This operation does not use the B, or C parameter.
8
REMAINDER
Remainder operation of A and B, A % B
This operation does not use the C parameter.
9
MPYDIV
Multiplication, division compound operation, (A x B)/C.
If the C parameter is 0x0000, output the multiplication operation of
(A x B).
10
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).
11
COMPARE-GTEQ
(great than or
equal to)
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).
12
COMPARE-
EQUAL
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).

Table of Contents

Other manuals for LSIS LSLV-S100

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the LSIS LSLV-S100 and is the answer not in the manual?

LSIS LSLV-S100 Specifications

General IconGeneral
BrandLSIS
ModelLSLV-S100
CategoryController
LanguageEnglish

Related product manuals