Converting BCD format data to single-precision real number
EREXP(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions convert BCD floating point format data to single-precision real number data in accordance with the
specified number of digits in the decimal part.
Ladder
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
■Execution condition
Instruction
EREXP
EREXPP
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Start device containing BCD floating point format data
(s2)
Number of digits in the decimal part
(d)
Start device for storing a single-precision real number
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s1)
(s2)
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=EREXP(EN,s1,s2,d);
ENO:=EREXPP(EN,s1,s2,d);
Range
Data type
16-bit signed binary
0 to 7
16-bit signed binary
Single-precision real
number
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
ANY16_ARRAY
(Number of elements: 5)
ANY16
ANYREAL_32
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.9 Real Number Instructions
7
765