Average Value Calculation - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Average value calculation

S.AVE
RnPCPU
RnCPU RnENCPU
(Process)
Calculates and outputs the mean value of the input data.
■Execution condition
Ladder
(s1)
FBD/LD
EN
ENO
s1
d1
s2
s3
■Execution condition
Instruction
S.AVE
Setting data
■Description, range, data type
Operand
Description
(s1)
Input data start device
(d1)
Block memory start device
(s2)
Empty string specification
(Specify "" in ladder. Specify '' in ST or FBD/LD.)
(s3)
Empty string specification
(Specify "" in ladder. Specify '' in ST or FBD/LD.)
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s1)
(d1)
(s2)
(s3)
11 PROCESS CONTROL INSTRUCTIONS
1306
11.3 Control Operation Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d1)
(s2)
(s3)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, R, ZR,
RD
ST
ENO:=S_AVE(EN,s1,s2,s3,d1);
Range
Refer to "Input data".
Refer to "Block memory".
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Word
Single-precision real
number
String
String
Bit
Bit
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents