SQRT (75)


SQRT (75)

ID                          75

 

 

Application:

PLC

SIM

 

Group: MATH

 

Short description:

A function that returns the square root of the absolute value of the input.

 

Inputs (1):

no.

type

impulse

mark

notes

1

R

no

IN

Real type input

 

Outputs (1):

no.

type

impulse

mark

notes

1

R

no

OUT

Function output value


Settings: none

Function operation:

The SQRT function takes a real value (Real) as an input, and as a result returns this square root value from the absolute value of the input IN, also in the form of a real number (Real). For example: for IN = 4 and IN = -4, the function returns the value 2 on the OUT output.

 

R registers and M markers used: none