
TU RS485/ETH serie
CD Automation srl
25
SQRT
Calculates the Square Root of a value
Calculates the Square Root of a value contained in an Internal Register.
Variables:
Source
Internal Register containing the value
Dest
Internal Register wherein the result is written.
Average
Calculates the Arithmetic mean of N values.
Calculates the Arithmetic mean of N Internal Registers values. (sum of the values / N).
Variables:
Source
Address of the Internal Register containing the first value.
N
Number of Internal Register of which calculate the mean.
Dest
Internal Register wherein the result is written.
Linearization
Calculates a value in function of a linearization table.
Calculates the Linearization of a value in function of the linearization table selected. Refer to the section
“Table” for more information.
Variables:
Source
Internal Register containing the value to linearize.
Function
Name of the Linearization table to be followed.
Dest
Internal Register wherein the result is written.
Scale
Executes the proportional scaling of a value
Executes the proportional scaling between the input range values and the output range values, referring to the
value of an Internal Register.
Variables:
Source
Internal Register containing the value to scale.
Span In
Maximum value of the input range
Zero In
Minimum value of the input range
Dest
Internal Register wherein the result is written.
Span Out
Maximum value of the output range
Zero Out
Minimum value of the output range
Div
Calculates the division between two values.
Calculates the division between an Internal Register and a constant or between two Internal Registers.
Variables:
Source A
Constant or Internal Register relative to the first operator.
Source B
Constant or Internal Register relative to the second operator.
Dest
Internal Register wherein the result is written.