Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 752

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions convert the double-precision real number in the device specified by (s) to a single-precision real number,
and store the real number in the device specified by (d).
SM402
M0
• When an input value is set using the engineering tool, a rounding error may occur. Refer to the following for the precautions
on setting input values using the engineering tool.
Page 49 Precautions
Operation error
Error code
Description
(SD0)
The value input to (s) is -0, a subnormal number, NaN (not a number), or .
3402H
3403H
The data output from (d) exceeds the following range. (An overflow has occurred.)
|(d)|<2
7 APPLICATION INSTRUCTIONS
750
7.9 Real Number Instructions
EDMOVP E-123456.7
D0
(s)
(d)
DBL2FLT
D0
D100
128
(s)
b63
∙∙∙
b49
b48
∙∙∙
b32
D3, D2, D1, D0
C0FEH
240BH
(-123456.7)
(d)
b31
∙∙∙
b16
b15
∙∙∙
b0
4000H
0000H
D101, D100
b31
∙∙∙
b16
b15
∙∙∙
b0
C71FH
205AH
(-123456.7)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents