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