Selection Instructions; Max - Delta Electronics DVP15MC11T Operation Manual

Table of Contents

Advertisement

DVP15MC11T Operation Manual

8.11 Selection Instructions

8.11.1 MAX

FB/FC
FC
Max is used for finding the largest value of two or more variables or constants.
Parameters
Parameter
Meaning
name
Comparison
In1 to InN
data
Comparison
Out
result
In1
to
InN
Out
_8
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
The Max instruction finds the largest value of two or more variables or constants and the largest
value is output to Out.
8-132
Input/
Output
The comparison data can
be added or removed
while the program is
Input
being written. The
maximum number of
comparison data is 8.
N=2~8
The largest value of In1 ~
Output
InN
Bit string
:
In 1 INT#10
:
In 2 INT#20
:
In 3 INT#30
:
In 4 INT#-20
Explanation
MAX
EN
ENO
In1
Ou t
.
.
.
.
.
.
InN
Description
Depends on the data type of the
variable that the input parameter is
connected to.
Depends on the data type of the
variable that the output parameter is
connected to.
Integer
MAX
O ut INT#30
Applicable
DVP15MC11T
Valid range
Real
Time, date
number
:
model

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents