Mitsubishi Electric MELSEC Q Series Programming Manual page 237

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

Advertisement

6 IEC FUNCTIONS
Function definition
6 - 50
BOOL MAX_E( BOOL EN, ANY_SIMPLE S1, ANY_SIMPLE S2,...., ANY_SIMPLE
Sn, ANY_SIMPLE D1 );
Argument
Argument Name
IN/OUT
EN
IN
S1 to Sn
IN
D1
OUT
Return value
Return Value
BOOL
Execution condition
Example of use
(*
When execution condition X0 turns ON, the data stored in iData1, iData2 and
(*
iData3 are searched for the maximum value, and the result is stored into
(*
Result.
M0 := MAX_E( X0, iData1, iData2, iData3, Result ) ;
Execution condition (Function is executed only when the result is TRUE)
Search target data
Search result
Description
For the usable data type, refer to "3.2.2 About ANY type".
Description
*)
*)
*)
6 - 50

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents