EasyManuals Logo
Home>Delta Electronics>Controller>DVP15MC11T

Delta Electronics DVP15MC11T User Manual

Delta Electronics DVP15MC11T
601 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #239 background imageLoading...
Page #239 background image
DVP15MC11T Operation Manual
_8
8.12.4 Real numbers_TO_***
FB/FC
Explanation Applicable model
FC
Real numbers_TO_*** instructions convert real numbers into the data of
basic data types. “***can be any basic data type.
DVP15MC11T
Parameters
Parameter
name
Meaning
Input/
Output
Description Valid range
In Data to convert Input Data to convert
Depends on the data type of the variable that
the input parameter is connected to.
Out Conversion result
Output Conversion result
Depends on the data type of the variable that
the output parameter is connected to.
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In
Out
The data type of Out must be the same as ***of the instruction name.
Note:
The symbol indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
Real Number to BOOL
Relevant instructions:
The real numbers are converted into the Boolean data as the following table shows. If the real
number is 0, the conversion result is FALSE. If the real number is not 0, the conversion result is
TRUE. For details on the rule, see the table as follows.
Data type
The value of In corresponds to the value of Out
In
Out
In
Out
REAL BOOL
-3.402823E+38~-1.175495E-38
TRUE
0
FALSE
1.175495E-38~3.402823E+38
TRUE
LREAL BOOL
-1.79769313486231E+308~
-2.22507385850721E-308
TRUE
0
FALSE
2.22507385850721E-308~
1.79769313486231E+308
TRUE
Real numbers_TO_***
EN ENO
Out
In
REAL_TO_BOOL
EN ENO
Out
In
LREAL_TO_BOOL
EN ENO
Out
In
8-168

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta Electronics DVP15MC11T and is the answer not in the manual?

Delta Electronics DVP15MC11T Specifications

General IconGeneral
BrandDelta Electronics
ModelDVP15MC11T
CategoryController
LanguageEnglish

Related product manuals