Selecting The Maximum/Minimum Value - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

30.2

Selecting the Maximum/Minimum Value

MAX(_E), MIN(_E)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
• MAX(_E): These functions output the maximum input value.
• MIN(_E): These functions output the minimum input value.
*1
Ladder, FBD/LD
[Without EN/ENO]
s1
d
s2
*1 The input variable s can be changed within the range from 2 to 28.
Setting data
■Description, type, data type
Argument
Description
EN
Execution condition (TRUE: Executed, FALSE: Not executed)
s1 (IN1) to s28 (IN28)
Input
ENO
Output status (TRUE: Normal, FALSE: Abnormal)
d
Output
RnSFCPU RnSFCPU
(Standard)
(Safety)
[With EN/ENO]
EN
ENO
s1
d
s2
Structured text
[Without EN/ENO]
d:=MAX(s1,s2);
d:=MIN(s1,s2);
[With EN/ENO]
d:=MAX_E(EN,ENO,s1,s2);
d:=MIN_E(EN,ENO,s1,s2);
Type
Input variable
Input variable
Output variable
Output variable
30.2 Selecting the Maximum/Minimum Value
Data type
BOOL
ANY_ELEMENTARY
BOOL
ANY_ELEMENTARY
30 SELECTION FUNCTIONS
30
1933

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents