EasyManuals Logo

Mitsubishi FX3G Series Programming Manual

Mitsubishi FX3G Series
944 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #524 background imageLoading...
Page #524 background image
522
FX3G/FX3U/FX3GC/FX3UC Series
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

Table of Contents

Other manuals for Mitsubishi FX3G Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX3G Series and is the answer not in the manual?

Mitsubishi FX3G Series Specifications

General IconGeneral
ModelFX3G Series
Power SupplyAC 100-240V or DC 24V
Program Capacity32, 000 steps
Execution Speed0.21 µs/basic instruction
Communication OptionsRS-422, USB, Ethernet
Expansion ModulesAnalog, digital, communication
Programming LanguageLadder Logic, Instruction List
Built-in FunctionsHigh-speed counters, pulse output
Analog I/OAvailable via expansion modules

Related product manuals