Not_E - Mitsubishi Electric MELSEC FX Series Structured Programming Manual

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
5.5.4
NOT(_E)
Outline
This function obtains the logical negation of bits, and outputs it.
1. Format
Function name
NOT

NOT_E

*1.
Output variable
2. Set data
Variable
EN
Input
variable
_IN (
ENO
Output
variable
*1
In explanation of functions, I/O variables inside ( ) are described.
Explanation of function and operation
This function obtains the logical negation using each bit of bit/word [unsigned]/bit string [16-bit]/double word
[unsigned]/bit string [32-bit] data stored in a device specified in
device specified in
Example: When the data type is word [unsigned]/bit string [16-bit]
s
0
1
1
0
d
Cautions
1) Use the function having "_E" in its name to connect a bus.
2) When handling 32-bit data in structured programs, you cannot specify 16-bit devices directly, different
from simple projects. Use labels when handling 32-bit data.
You can specify 32-bit counters directly, however, because they are 32-bit devices.
Use global labels when specifying labels.
160
FX
3U(C)
Structured ladder
NOT
M0
_IN
X000
NOT_E
EN
M0
_IN
Execution condition
Device used to obtain the logical negation
)
s
Execution status
Device which will store the operation result
(
)
d
using the data type of data stored in a device specified in
d
1
0
1
0
1
1
Logical negation
0
1
0
1
0
0
FX
3G
FX
2N(C)
Expression in each language
NOT(_IN);
Example:
M10:=
*1
M10
NOT(M0);
NOT_E(EN,_IN,Output label);
Example:
NOT_E(X000,M0,M10);
ENO
*1
M10
Description
0
0
0
0
1
1
1
1
1
1
0
0
5.5 Standard Bitwise Boolean Functions
FX
1N(C)
FX
1S
FX
U
/FX
ST
Bit
ANY_BIT
Bit
ANY_BIT
, and outputs the operation result to a
s
.
s
1
1
0
0
2C
FX
0N
FX
0(S)
Data type

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents