![Omron CVM1D Operation Manual Download Page 290](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532290.webp)
285
5-21-3 16-BIT TO FLOATING: FLT(452)
(452)
FLT
S
R
Ladder Symbol
Variations
↑
FLT(452)
Operand Data Areas
S: Source word
CIO, G, A, T, C, #, DM, DR, IR
R: First result word
CIO, G, A, DM
When the execution condition OFF, FLT(452) is not executed. When the execu-
tion condition is ON, FLT(452) converts the 16-bit binary content of S to 32-bit
floating-point data, and places the result in R and R+1.
R+1
R
S
Floating-point data (32 bits)
Binary data (16 bits)
Only binary data within the range of –32,768 to 32,767 can be specified for S. To
convert binary data outside of that range, use FLTL(453). Refer to 5-21-4 32-BIT
TO FLOATING: FLTL(453).
Precautions
Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
The content of a
*
DM word is not BCD when set for BCD.
EQ (A50006):
The exponent and mantissa of the result are 0.
N (A50008):
The result of the conversion is a negative number.
5-21-4 32-BIT TO FLOATING: FLTL(453)
(453)
FLTL
S
R
Ladder Symbol
Variations
↑
FLTL(453)
Operand Data Areas
S: First source word
CIO, G, A, T, C, #, DM,
R: First result word
CIO, G, A, DM
When the execution condition OFF, FLTL(453) is not executed. When the execu-
tion condition is ON, FLTL(453) converts specified 32-bit binary data to 32-bit
floating-point data, and places the result in specified words.
R+1
R
S
Floating-point data (32 bits)
Binary data (32 bits)
S+1
binary data within the range of –2,147,483,648 to 2,147,483,647 can be speci-
fied for S and S+1.
Note The maximum value for R other than indirect DM and indirect EM is –1.
Constants are expressed in eight digits. Data register and index register (direct)
cannot be used.
Precautions
Refer to page 101 for general precautions on operand data areas.
Description
Description
Floating-point Math Instructions
Section 5-21
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...