Delta Electronics DVP15MC11T Operation Manual page 241

Table of Contents

Advertisement

DVP15MC11T Operation Manual
The rule for the conversion of real numbers into bit strings is the same as that for the
conversion of real numbers into unsigned integers.
Real Number to Real Number
Real numbers can be converted to real numbers. And some instructions are shown below.
Real Number to Time or Date
Real numbers can be converted to times or dates. And some instructions are shown below.
For the real number-to-time or date conversion, the real number is converted to the integer first
and then the integer is converted to the time or date. For relevant contents, refer to the real
number-to- integer conversion and integer-to-time or date conversion.
Real Number to String
Real numbers can be converted to strings. And some instructions are shown below.
The rule for the real number-to-string conversion is the same as that for the integer-to-string
conversion. Refer to section 8.13.3 for details.
Precautions for Correct Use
The input variable is not allowed to omit. An error will occur during the compiling of the software if the
input variable is omitted. But the output variable is allowed to omit.
_8
8-170
L RE AL_TO_DWO RD
EN
ENO
In
O ut
REA L_TO _LREA L
EN
ENO
In
O ut
RE AL_TO_TIME
EN
ENO
In
O ut
LREA L_TO_TOD
EN
ENO
In
O ut
REAL _TO _STRING
EN
ENO
In
O ut
LREAL _TO _LWO RD
EN
ENO
In
O ut
L RE AL_TO_RE AL
EN
ENO
In
O ut
REAL _TO _DATE
E NO
EN
Out
In
L RE AL_TO_DT
EN
ENO
In
O ut
LREAL _TO _STRING
EN
ENO
In
O ut

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents