SQR (76)


SQR (76)

ID                          76

 

 

Application:

PLC

SIM

 

Group: MATH

 

Short description:

A function that returns a second power value from an input value.

 

Inputs (1):

no.

type

impulse

mark

notes

1

R

no

IN

Real type input

 

Outputs (2):

no.

type

impulse

mark

notes

1

R

no

OUT

Function output value
2 B no limit Result is out of limit for a real type variable


Settings: none

Function operation:

The SQR function returns the square of the input value as result. If the operation result is greater than the upper value of the real type variable (-1.7 * 10E308 ... 1.7 * 10E308), the limit output is activated, and the OUT output is the maximum value of the real type variable.

R registers and M markers used: none