Le_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.4

LE_E

Outline
This function compares data with regard to "≤ (smaller or equal)".
1. Format
Function name
LE_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
1) 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 all comparison results are "
b) This function outputs "FALSE" when any comparison result is "
2) The number of pins in
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.
176
FX
3U(C)
Structured ladder
X000
LE_E
EN
D0
_IN
D10
_IN
Execution condition
...)
Compared data, or word device which stores such data
s1
Execution status
(
)
Device which will store the comparison result
d
can be changed.
s
FX
3G
FX
2N(C)
FX
Expression in each language
LE_E(EN,_IN,_IN,Output label);
Example:
LE_E(X000,D0,D10,M0);
ENO
*1
M0
Description
.
d
] & [
s1
s2
s2
s3
5.7 Standard Comparison Functions
1N(C)
FX
1S
FX
U
/FX
2C
ST
Bit
ANY_SIMPLE
Bit
Bit
..., and outputs the operation result
s1
] & ... & [
-1 ≤
sn
sn
(n-1) ≤
(n)".
s
s
(n-1) >
(n)".
s
s
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