MEAN (71)


MEAN (71)

ID                          71

 

 

Application:

PLC

SIM

 

Group: MATH

 

Short description:

A function that returns the average value.

 

Inputs (2):

no.

type

impulse

mark

notes

1

R

no

IN

Real type input

2

B

no

reset

Signal reset

 

Wyjścia (1 sztuka):

no.

type

impulse

mark

notes

1

R

no

mean

average value

 

Settings: none

Function operation:

The MEAN function returns the average value of all values that appeared in each program cycle on the IN input, from the moment of the low state on the RESET input. When there is a high state at the RESET input, the function returns the value 0.

 

R registers and M markers used: none