6-82
FLTD(P),DFLTD(P)
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• The result exceeds the following range (Operation results in an overflow):
2
1024
| Operation result | (Error code: 4141)
Program Example
(1) The following program converts the BIN 16-bit data at D20 to a 64-bit floating decimal point
type real number and stores the result at D0 to D3.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program converts the BIN 32-bit data at D20 and D21 to a 64-bit floating
decimal point type real number, and stores the result at D0 to D3.
[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
Conversion to real number
64-bit floating-point
real number
15923
D20
BIN value
D1
15923
D0D3 D2
Step
Instruction
Device
Conversion to real number
64-bit floating-point
real number
BIN value
D1
16543521
D0D3 D2
D21
16543521
D20