Less Than Or Equal To Right Member ( <= ) - Mitsubishi Electric MELSEC Q Series Programming Manual

Structured text
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6 IEC FUNCTIONS
6.9.4 Less than or equal to right member ( <= )
In all the specified data, whether the relationship of
Function definition
6 - 63
BOOL LE_E( BOOL EN, ANY_SIMPLE S1, ANY_SIMPLE S2,...., ANY_SIMPLE Sn,
BOOL D1 );
Argument
Argument Name
IN/OUT
EN
IN
S1 to Sn
IN
D1
OUT
Remarks: D1 = (S1
S2 ) & (S2
Return value
Return Value
BOOL
Execution condition
Example of use
Argument Type
REAL
b_result := LE_E( b_select,
r_data1, r_data2, r_data3,
b_data1 );
INT
B100 :=
LE_E( M20, D10, D20, D30,
M200 );
LE_E
(less than or equal to) is satisfied or not is acquired.
Execution condition (Function is executed only when the result is TRUE)
Comparison target data
Comparison result
S3) & ............. & (Sn -1
ST Program
Conversion Result
LDE<=
ANDE<= r_data2 r_data3
OUT
LD
AND
SET
LD
ANI
RST
LD
OUT
LD<=
AND<=
OUT
LD
AND
SET
LD
ANI
RST
LD
OUT
Description
Sn)
Description
Used Instruction
r_data1 r_data2
LDE<=, ANDE<=,
OUT,LD,AND,SET,
ANI,RST
M8191
b_select
M8191
b_data1
b_select
M8191
b_data1
b_select
b_result
D10 D20
LD<=, AND<=,OUT
LD,AND,SET,ANI,
D20 D30
RST
M8191
M20
M8191
M200
M20
M8191
M200
M20
B100
6 - 63

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents