EasyManua.ls Logo

Delta Electronics DVP15MC11T

Delta Electronics DVP15MC11T
601 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
Loading...
Chapter 8 Logic Instructions
8_
8.9.2 OR
FB/FC
Explanation
Applicable
model
FC
OR is used for performing a logical OR operation of two or more variables or
constants.
DVP15MC11T
Parameters
Parameter
name
Meaning
Input/
Output
Description Valid range
In1 to InN Operand Input
The number of operands can be
increased or decreased through the
programming software. Maximum: 8.
Minimum: 2. That is N=2 ~ 8.
Depends on the data type
of the variable that the
input parameter is
connected to.
Out
Operation
result
Output OR operation result of In1 ~ InN
Depends on the data type
of the variable that the
output parameter is
connected to.
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In1
to
InN
Out
Note:
The symbol indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
OR is used for performing a bitwise logical OR operation of two or more variables or constants and
the result is output to Out. That is Out= In1 OR In2 OR…OR InN.
The operational rule:
When corresponding bits of all input variables are all FALSE, the corresponding bit of the output
variable is FALSE. Otherwise, the corresponding bit of the output variable is TRUE.
OR
EN ENO
In1 Out
InN
.
.
.
.
..
8-113

Table of Contents

Related product manuals