Average Value (M+P_Ave(_E)) - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Process control function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

4.4

Average Value (M+P_AVE(_E))

M+P_AVE(_E)
These FBs output the average value of input values (array).
FBD/LD
[Without EN/ENO]
M+P_AVE
NUM
OUT1
IN
■Block diagram
EN
Execution condition
NUM
IN
Processing in the dashed part is only carried out in functions with EN/ENO pins.
Setting data
■Input/output variable
Variable
Description
name
EN
Execution condition
NUM
Input numbers
IN
Input 1 to Input 16
ENO
Output status
OUT1
Output
*1 Even when an input number to be used is less than 16, specify an array whose data type is REAL and the number of elements is 16.
When an input number is less than 16, input values must be left-justified from the start element of the array.
4 ANALOG VALUE SELECTION AND AVERAGE VALUE
66
4.4 Average Value (M+P_AVE(_E))
M+P_AVE(_E)
Output status
Average value
processing
[With EN/ENO]
M+P_AVE_E
EN
ENO
NUM
OUT1
IN
ENO
OUT1
Recommended
Type
range
TRUE: Execute
Input variable
FALSE: Stop
1 to 16
Input variable
-999999 to 999999
Input variable
TRUE: Normal
Output variable
FALSE: Abnormal or
operation stop
-999999 to 999999
Output variable
Data type
BOOL
INT
REAL array
*1
element
(Number of
elements: 16)
BOOL
REAL

Advertisement

Table of Contents
loading

Table of Contents