6 - 52 6 - 52
6 IEC FUNCTIONS
Function definition
BOOL MIN_E (BOOL EN, ANY_SIMPLE S1, ANY_SIMPLE S2, ANY_SIMPLE S2,….,
ANY_SIMPLE Sn, ANY_SIMPLE D1);
Argument
Argument Name
IN/OUT
Description
EN
IN
Execution condition (Function is executed only when the result is TRUE)
S1 to Sn
IN
Search target data
D1 OUT
Search
result
Return value
Return Value
Description
BOOL Execution
condition
Example of use
(*
(*
BOOL MIN_E(BOOL EN, ANY_SIMPLE S1, ANY_SIMPLE S2,….,
ANY_SIMPLE Sn, ANY_SIMPLE D1 );
M0 := MIN_E( X0, iData1, iData2, iData3, Result ) ;
*)
*)
For the usable data type, refer to "3.2.2 About ANY type".
Summary of Contents for MELSEC L series
Page 1: ...Programming Manual Structured Text ...
Page 2: ......
Page 73: ...4 33 4 33 4 ST PROGRAM EXPRESSIONS MEMO ...
Page 297: ......