%AI001
EXPT_
REAL
I1 Q
%R0001
I2
CONST
2.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).
Input
Output
OK
Enable
RAD_
TO
DEG
IN Q
10.5.7.1
Parameters of the Radian Conversion Function
Input/ Output
Choices
Description
enable
flow
When the function is enabled, the operation is
performed.
IN
R, AI, AQ, constant
IN contains the real value to be operated on.
ok
flow, none
The OK output is energized when the function is
performed without overflow, unless IN is NaN.
Q
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.
RAD_
TO
DEG
Q
%R0001
85943.67
IN
CONST
+1500.000
170
GFK-1503E
VersaMax PLC User Manual
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......