Converting 16-bit unsigned binary data to double-precision real
number
UINT2DBL(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions convert 16-bit unsigned binary data to a double-precision real number.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
*1 The engineering tool with version "1.035M" or later supports the ST.
■Execution condition
Instruction
UINT2DBL
UINT2DBLP
Setting data
■Description, range, data type
Operand
Description
(s)
Integral data to be converted to a double-precision real
number, or the device containing integral data
(d)
Start device for storing the converted double-precision real
number
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
Processing details
• These instructions convert the 16-bit unsigned binary data in the device specified by (s) to a double-precision real number,
and store the real number in the device specified by (d).
SM402
MOVP
M0
UINT2DBL
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
(s)
b15
∙∙∙
K4321
D0
D0
10E1H
(s)
(d)
(4321)
D0
D100
*1
ST
ENO:=UINT2DBL(EN,s,d);
ENO:=UINT2DBLP(EN,s,d);
Range
Data type
0 to 65535
16-bit unsigned binary
Double-precision real
number
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
(d)
b0
b63
D103, D102, D101, D100
40B0H
Data type (label)
ANY16_U
ANYREAL_64
BOOL
BOOL
Constant
specification
K, H E
$
∙∙∙
∙∙∙
∙∙∙
∙∙∙
b49
b48
b32
b31
b16
b15
b0
E100H
0000H
0000H
(4321.0)
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
7
Others
753