ROOT
Function - Calculates the Nth root of the input.
Inputs
Input |
Data type |
Description |
IN |
REAL |
Real value. |
N |
DINT |
Root level. |
Outputs
Output |
Data type |
Description |
Q |
REAL |
Result: Nth root of IN. |
Remarks
In LD language, the operation is executed only if the input rung (EN) is TRUE. The output rung (ENO) keeps the same value as the input rung.
ST Language
Q := ROOT (IN, N);
FBD Language
LD Language
The function is executed only if EN is TRUE.
ENO keeps the same value as EN.
Created with the Personal Edition of HelpNDoc: Maximize Your Reach: Convert Your Word Document to an ePub or Kindle eBook