![Mitsubishi Electric FX3G SERIES Скачать руководство пользователя страница 532](http://html.mh-extra.com/html/mitsubishi-electric/fx3g-series/fx3g-series_programming-manual_238902532.webp)
530
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
18 Floating Point – FNC110 to FNC139
18.24 FNC136 – RAD / Floating Point Degrees to Radians Conversion
Program example
In the program example shown below, a 4-digit BCD value set in degrees in X020 to X037 is converted into a binary
floating point value in radians, and stored to D20 and D21 when X000 turns ON.
Operation when "120" is specified in X020 to X037
X000
FNC 49
FLT
D0
Angle to be converted into radians is input ([1]).
The input angle is converted into binary floating
point (real number) ([2]).
The angle is converted from degrees into radians
([3]).
D10
FNC 19
BIN
K4X20
D0
FNC136
DRAD
D10
D20
END
120
1 2
[1]
Conversion
into binary
BIN
120
b15
b0
[2] Conversion into
binary floating point
(real number)
[3]
Conversion
into radians
DRAD
D11
D10
2.094395 ...
D21
D20
FLT
D0
X037 X020
0
0
Binary
value
BCD
value
Содержание FX3G SERIES
Страница 1: ...FX3G FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic Applied Instructions Edition ...
Страница 2: ......
Страница 947: ......