Ne_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.7.6

NE_E

Outline
This function compares data with regard to "≠ (unequal)".
1. Format
Function name
NE_E
*1.
Output variable
2. Set data
Variable
EN
Input
_IN1 (
variable
_IN2 (
ENO
Output
variable
*1
In explanation of functions, I/O variables inside ( ) are described.
Explanation of function and operation
This function compares the contents of devices specified in
expressed as the bit type data to a device specified in
This function executes comparison [
a) This function outputs "TRUE" when in the case of "
b) This function outputs "FALSE" when in the case of "
Cautions
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.
FX
3U(C)
Expression in each language
Structured ladder
X000
NE_E
EN
ENO
D0
_IN1
D10
_IN2
Execution condition
Compared data, or word device which stores such data
)
s1
)
Compared data, or word device which stores such data
s2
Execution status
Device which will store the comparison result
(
)
d
s1
FX
FX
FX
3G
2N(C)
1N(C)
NE_E(EN,_IN1,_IN2,Output label);
Example:
NE_E(X000,D0,D10,M0);
*1
M0
Description
and
s1
.
d
].
s2
"
s1
s2
=
"
s1
s2
5.7 Standard Comparison Functions
FX
FX
/FX
FX
1S
U
2C
0N
ST
Data type
Bit
ANY_SIMPLE
ANY_SIMPLE
Bit
Bit
, and outputs the operation result
s2
1
FX
0(S)
2
3
4
5
6
A
179

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents