Download Series 90-70 Programmable Controller Reference Manual

Transcript
6
Radian Conversion
(RAD, DEG)
When the function receives power flow, the appropriate conversion (RAD_TO_DEG or
DEG_TO_RAD) 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).
_____
|
|
(enable) —| RAD_|— (ok)
|
|
| TO_ |
| DEG |
(input parameter IN) —|IN Q|— (output parameter Q)
|_____|
Parameters:
Parameter
enable
Description
When the function is enabled, the operation is performed.
IN
IN contains the real value to be operated on.
ok
The ok output is energized when the function is performed without overflow,
unless IN is NaN.
Q
Output Q contains the converted value of IN.
Note
These functions are only available on floating-point versions of the Series 90-70
CPU.
6-14
Series 90™-70 PLC CPU Instruction Set Reference Manual – January 2000
GFK-0265J