Less Than 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.5 Less than right member ( < )
In all the specified data, whether the relationship of < (less than) is satisfied or not is acquired.
Function definition
6 - 65
LT_E
BOOL LT_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 < S3) & ............... & (Sn -1 < Sn)
Return value
Return Value
BOOL
Execution condition
Example of use
Argument Type
REAL
b_result := LT_E( b_select,
r_data1, r_data2, r_data3,
b_data1 );
INT
B100 :=
LT_E( M20, D10, D20, D30,
M200 );
Execution condition (Function is executed only when the result is TRUE)
Comparison target data
Comparison result
ST Program
Conversion Result
LDE<
ANDE<
OUT
LD
AND
SET
LD
ANI
RST
LD
OUT
LD<
AND<
OUT
LD
AND
SET
LD
ANI
RST
LD
OUT
Description
Description
Used Instruction
r_data1 r_data2
LDE<, ANDE<,OUT,
r_data2 r_data3
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,SET,ANI,RST
D20
D30
M8191
M20
M8191
M200
M20
M8191
M200
M20
B100
6 - 65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents