DVP15MC11T Operation Manual
8.9.3 NOT
FB/FC
Explanation
FC
NOT is used for the NOT operation taking the inverse of a variable or constant. DVP15MC11T
Parameters
Meaning
Description Valid range
In Operand Input
Input parameter to take the
inverse
Depends on the data type of the
variable that the input parameter is
Out
Operation
result
Output Not operation result
Depends on the data type of the
variable that the output parameter is
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
In
● ● ● ● ● ● ● ● ●
Out
● ● ● ● ● ● ● ● ●
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
NOT is used for the bitwise NOT operation taking the inverse of the value of a variable or constant
and the result is output to Out.
The operational rule:
If one bit of the input variable is TRUE, the corresponding bit of the output variable is FALSE. If one
bit of the input variable is FALSE, the corresponding bit of the output variable is TRUE.
The data type of Out must be the same as In.
Precautions for Correct Use
The input variables are not allowed to omit. An error will occur during the compiling of the software if any
input variable is omitted. But the output variable is allowed to omit.
00
101
100
11
0100
11
Bit0Bit7
In
Out
8-116