Math And Numerical Functions Radian Conversion Functions - GE VersaMax PLC User Manual

Table of Contents

Advertisement

Input/ Output
enable
IN
ok
Q
170
GFK-1503E
For public disclosure
%AI001
CONST
2.50000E+00
10.5.7 Math and Numerical Functions Radian
Conversion Functions
When Degree/Radian Conversion function receives power flow, the appropriate
conversion (radians to degrees or degrees to radians) is performed on the Real value in
input IN and the result is placed in output Q.
The OK output will receive power flow unless IN is NaN (Not a Number).
RAD_
Enable
TO
DEG
Input
IN Q
10.5.7.1 Parameters of the Radian Conversion Function
Choices
When the function is enabled, the operation is
flow
performed.
R, AI, AQ, constant
IN contains the real value to be operated on.
The OK output is energized when the function is
flow, none
performed without overflow, unless IN is NaN.
R, AI, AQ
Output Q contains the converted value of IN.
10.5.7.2 Example
In the example, +1500 is converted to DEG and is placed in %R0001.
CONST
+1500.000
EXPT_
REAL
I1 Q
%R0001
I2
OK
Output
Description
RAD_
TO
DEG
IN
Q
%R0001
85943.67
VersaMax PLC User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents