Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-278
RADD(P)
Program Example
(1) The following program converts the angle set by the 4 BCD digits at X20 to X2F to radians,
and stores results as 64-bit floating decimal point type real number at D20 to D23.
[Ladder Mode]
[List Mode]
[Operations involved when X20 to X2F designate a value of 120]
Inputs an angle to be converted into a
radian value ( ).
Converts the converted angle into a
radian value ( ).
Converts the input angle into a 64-bit
floating-point real number (
).
1
2
3
Step Instruction Device
X2F
BCD value
0
D0
120
X20
Conversion
to BIN
BIN
b15 b0
BIN value
120
Conversion to
floating-point
FLTD
Conversion
to radian
RADD
D11
120
D10D13 D12
D21
2.094395···
D20D23 D22
1
3
2