hit counter script

Mitsubishi Electric FX3G SERIES Programming Manual page 532

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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.
X000
Operation when "120" is specified in X020 to X037
Conversion
X037 X020
into binary
0
1 2
0
BCD
value
530
FNC 19
K4X20
BIN
FNC 49
FLT
FNC136
DRAD
[1]
[2] Conversion into
D0
binary floating point
b15
b0
(real number)
120
Binary
BIN
value
18.24 FNC136 – RAD / Floating Point Degrees to Radians Conversion
D0
Angle to be converted into radians is input ([1]).
The input angle is converted into binary floating
D0
D10
point (real number) ([2]).
The angle is converted from degrees into radians
D10
D20
([3]).
END
D11
120
FLT
18 Floating Point – FNC110 to FNC139
[3]
Conversion
D10
into radians
DRAD
D21
D20
2.094395 ...

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents