DVP15MC11T Operation Manual
8.8.20 SQRT
FC
SQRT is used to calculate the square root of a number and the result is
output to Out.
DVP15MC11T
Parameters
Meaning
Description Valid range
In
Number to
process
Input Number to process
Depends on the data type of
the variable that the input
parameter is connected to.
And it is a non-negative
Out Square root Output Square root
Depends on the data type of
the variable that the output
parameter is connected to.
And it is a non-negative
number.
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In
● ● ● ● ● ● ● ● ● ● ● ● ● ●
Out
●
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
SQRT is used to calculate the square root of In and the result is output to Out.
8-96